From 57ac7bd0f6fa139ea8053eb1d603bff93221bb20 Mon Sep 17 00:00:00 2001 From: sammyette Date: Sat, 1 Apr 2023 18:18:35 -0400 Subject: [PATCH] fix: only return when hilbish forgets how to run commands --- exec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exec.go b/exec.go index 8148e25..58987dc 100644 --- a/exec.go +++ b/exec.go @@ -250,9 +250,8 @@ func handleSh(cmdString string) (input string, exitCode uint8, cont bool, runErr exitCode = 69 runErr = fmt.Errorf("sorry i forgot how to run commands") time.Sleep(2 * time.Second) + return } - - return } shRunner := hshMod.Get(rt.StringValue("runner")).AsTable().Get(rt.StringValue("sh"))