From 86a3219e7fc3244331595819f742b365172f96ad Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 21 Jun 2018 19:12:59 -0700 Subject: Cleanup of some metaprogramming stuff, as well as adding support for "package.nomsupath" to search for files in different locations, and prioritizing use of "luafilesystem" over system calls. --- error_handling.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'error_handling.lua') 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) -- cgit v1.2.3