diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2016-06-29 13:37:59 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-06-29 13:37:59 +0300 |
commit | a40cdcec612773a8a07afedd950e74eeb0eb9726 (patch) | |
tree | 85e569b798d4e17b373c52957f040ee437eabb5c | |
parent | 4f11e1c437bf904883c70b11310978b71e59327a (diff) | |
download | luacov-a40cdcec612773a8a07afedd950e74eeb0eb9726.tar.gz |
Exit with 1 on config loading error
-rw-r--r-- | src/luacov/runner.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luacov/runner.lua b/src/luacov/runner.lua index ed34e25..ab02953 100644 --- a/src/luacov/runner.lua +++ b/src/luacov/runner.lua @@ -332,6 +332,7 @@ local function load_config_file(name, is_default) end io.stderr:write(("Error: couldn't %s config file %s: %s\n"):format(error_type, name, error_msg)) + raw_os_exit(1) end local default_config_file = ".luacov" |