diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/rclone.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/rclone.lua b/lua/rclone.lua index 6df5efb..3685222 100644 --- a/lua/rclone.lua +++ b/lua/rclone.lua @@ -65,6 +65,7 @@ local function get_remote_config(remote) target_config = config[remote] else print("Couldn't find remote: " .. remote) + os.exit() end else local config_length = 0 @@ -89,6 +90,7 @@ local function get_remote_config(remote) if target_remote == nil then print("Couldn't find suitable remote") + os.exit() -- TODO: check how to do error handling in lua/vim plugins end |