fix: only return when hilbish forgets how to run commands

fools v2.1.1
sammyette 2023-04-01 18:18:35 -04:00
parent 08fd852fd1
commit 57ac7bd0f6
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 2 deletions

View File

@ -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"))