summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-02-11 09:17:01 +0100
committerAndreas Gohr <andi@splitbrain.org>2015-02-11 09:17:01 +0100
commit9d37542fb0dc853c27db0ebfd9ec5817039d5f8b (patch)
treec05fe8b6489757ecf8d9b0ba19f0616a418f6f54
parent453ad46df5bdda6e55385e09e43193df37fe32c3 (diff)
parent0a4266d4abdf928b71e0eb0164595ce5d3f162f6 (diff)
downloadrpg-9d37542fb0dc853c27db0ebfd9ec5817039d5f8b.tar.gz
rpg-9d37542fb0dc853c27db0ebfd9ec5817039d5f8b.tar.bz2
Merge pull request #1028 from glensc/exit-1
consistency: failure exit with status code 1
-rw-r--r--inc/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php
index 91bc77f98..bc9ab6d70 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -535,7 +535,7 @@ function nice_die($msg){
</body>
</html>
EOT;
- exit;
+ exit(1);
}
/**