]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/graphviz.pm
clarify
[git.ikiwiki.info.git] / IkiWiki / Plugin / graphviz.pm
index b43e96a73adad4b1b8091c689110c70611a983f6..bec12207696ed5639b71dfd773bf261b8b1658b7 100644 (file)
@@ -18,6 +18,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "widget",
                },
 }
 
@@ -45,7 +46,7 @@ sub render_graph (\%) {
 
        if (! -e "$config{destdir}/$dest") {
                my $pid;
-               my $sigpipe=0;;
+               my $sigpipe=0;
                $SIG{PIPE}=sub { $sigpipe=1 };
                $pid=open2(*IN, *OUT, "$params{prog} -Tpng");