diff --git a/exec.go b/exec.go index fc96878..ac68c07 100644 --- a/exec.go +++ b/exec.go @@ -61,6 +61,8 @@ func runInput(input, origInput string) { } else if err != nil { fmt.Fprintln(os.Stderr, err) cmdFinish(1, cmdString, origInput) + } else { + cmdFinish(0, cmdString, origInput) } break }