fix: finish properly when command exit is successful after contine prompt

windows-fixes
TorchedSammy 2022-03-05 21:25:32 -04:00
parent b1ad90443e
commit 6740e012a5
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 2 additions and 0 deletions

View File

@ -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
}