From e86c95818a8b1f5d42155eb3ad9c47c178421c0a Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Thu, 20 May 2021 05:36:00 -0400 Subject: [PATCH] fix: added a return in lua command check --- shell.go | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.go b/shell.go index 53b5e67..10d8ff7 100644 --- a/shell.go +++ b/shell.go @@ -62,6 +62,7 @@ func RunInput(input string) { "Error in command:\n\n" + err.Error()) } hooks.Em.Emit("command.exit", exitcode) + return } // Last option: use sh interpreter