From: Sarah Hoffmann Date: Sun, 18 May 2014 20:58:58 +0000 (+0200) Subject: return with non-zero exit code on error X-Git-Tag: v2.3.0~28 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/be1d7f38cafda0f555c1eef856cc301fc55251ae return with non-zero exit code on error --- 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); }