From be1d7f38cafda0f555c1eef856cc301fc55251ae Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 18 May 2014 22:58:58 +0200 Subject: [PATCH] return with non-zero exit code on error --- lib/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib.php b/lib/lib.php index afcc02ef..1e05def3 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -45,7 +45,7 @@ if (!$sUserError) $sUserError = $sError; error_log('ERROR: '.$sError); echo $sUserError."\n"; - exit; + exit(-1); } -- 2.45.2