return with non-zero exit code on error

This commit is contained in:
Sarah Hoffmann
2014-05-18 22:58:58 +02:00
parent a178a62877
commit be1d7f38ca

View File

@@ -45,7 +45,7 @@
if (!$sUserError) $sUserError = $sError;
error_log('ERROR: '.$sError);
echo $sUserError."\n";
exit;
exit(-1);
}