From 6740e012a557593e9fcb248cacd87bb4b85db080 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 5 Mar 2022 21:25:32 -0400 Subject: [PATCH] fix: finish properly when command exit is successful after contine prompt --- exec.go | 2 ++ 1 file changed, 2 insertions(+) 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 }