sparkline: show error if php does not run
parent
77b0454e0c
commit
2fced917a5
|
@ -149,7 +149,7 @@ sub preprocess (@) {
|
|||
|
||||
waitpid $pid, 0;
|
||||
$SIG{PIPE}="DEFAULT";
|
||||
if ($sigpipe) {
|
||||
if ($sigpipe || ! defined $png) {
|
||||
error gettext("failed to run php");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue