summaryrefslogtreecommitdiffstats
path: root/system/core/Exceptions.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-03-04 13:59:53 +0100
committerAndrey Andreev <narf@bofh.bg>2013-03-04 13:59:53 +0100
commitbb5cf0a51ce1aecf1dc5ebeb38336f59388321ef (patch)
tree81696844dd60466d1f1a1c0a4d8bbeb82f9a8b1c /system/core/Exceptions.php
parentfa01ae4b3a2ed51a93590527c04295eb8cba4e40 (diff)
parent8626e93d5b4362c86a58933dda9206ac8810476d (diff)
Merge pull request #2190 from danhunsaker/feature/exit-status
Updated all CLI-valid cases of exit() to return a valid code
Diffstat (limited to 'system/core/Exceptions.php')
-rw-r--r--system/core/Exceptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php
index e6023e73b..9c68d06a5 100644
--- a/system/core/Exceptions.php
+++ b/system/core/Exceptions.php
@@ -117,7 +117,7 @@ class CI_Exceptions {
}
echo $this->show_error($heading, $message, 'error_404', 404);
- exit;
+ exit(EXIT_UNKNOWN_FILE);
}
// --------------------------------------------------------------------