sparkline: show error if php does not run

master
Joey Hess 2009-10-14 16:59:21 -04:00
parent 77b0454e0c
commit 2fced917a5
1 changed files with 1 additions and 1 deletions

View 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");
}