mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-21 04:53:24 +00:00
fix: only return when hilbish forgets how to run commands
This commit is contained in:
parent
08fd852fd1
commit
57ac7bd0f6
3
exec.go
3
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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user