summaryrefslogtreecommitdiffstats
path: root/system/database
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/database
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/database')
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index ed0296d76..18dbbc76e 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1658,7 +1658,7 @@ abstract class CI_DB_driver {
$error =& load_class('Exceptions', 'core');
echo $error->show_error($heading, $message, 'error_db');
- exit;
+ exit(EXIT_DATABASE);
}
// --------------------------------------------------------------------