aboutsummaryrefslogtreecommitdiff
path: root/error_handling.lua
diff options
context:
space:
mode:
Diffstat (limited to 'error_handling.lua')
-rw-r--r--error_handling.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/error_handling.lua b/error_handling.lua
index 5e7d715..90c5991 100644
--- a/error_handling.lua
+++ b/error_handling.lua
@@ -197,7 +197,8 @@ end
local error_handler
error_handler = function(error_message)
print_error(error_message)
- return os.exit(false, true)
+ local EXIT_FAILURE = 1
+ return os.exit(EXIT_FAILURE)
end
local run_safely
run_safely = function(fn)