]> git.openstreetmap.org Git - nominatim.git/commitdiff
settings.php: when printing error, also exit with error code
authormarc tobias <mtmail@gmx.net>
Mon, 26 Nov 2018 13:28:09 +0000 (14:28 +0100)
committermarc tobias <mtmail@gmx.net>
Mon, 26 Nov 2018 13:28:09 +0000 (14:28 +0100)
settings/settings.php

index d45a42376cb3cfe055b62b7dd672b5b927fd91f0..907a9fa0b530804bd776532abf6a3000ba5f2b39 100644 (file)
@@ -1,4 +1,4 @@
 <?php
 
 echo "ERROR: Scripts must be run from build directory.\n";
-exit;
+exit(1);