]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/sparkline.pm
meta: Gather permalink info on scan pass so it is available to inline when using...
[git.ikiwiki.info.git] / IkiWiki / Plugin / sparkline.pm
index c1f016ffd0e7055bae3f5ba72f9f04b643285c01..fb4849492eb0e20aad9045bae2d51902885abfb5 100644 (file)
@@ -149,7 +149,7 @@ sub preprocess (@) {
 
                waitpid $pid, 0;
                $SIG{PIPE}="DEFAULT";
-               if ($sigpipe) {
+               if ($sigpipe || ! defined $png) {
                        error gettext("failed to run php");
                }