Skip to content

Commit

Permalink
fix: only return when hilbish forgets how to run commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Apr 1, 2023
1 parent 08fd852 commit 57ac7bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 57ac7bd

Please sign in to comment.