mirror of https://github.com/Hilbis/Hilbish
fix: finish properly when command exit is successful after contine prompt
parent
b1ad90443e
commit
6740e012a5
2
exec.go
2
exec.go
|
@ -61,6 +61,8 @@ func runInput(input, origInput string) {
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err)
|
fmt.Fprintln(os.Stderr, err)
|
||||||
cmdFinish(1, cmdString, origInput)
|
cmdFinish(1, cmdString, origInput)
|
||||||
|
} else {
|
||||||
|
cmdFinish(0, cmdString, origInput)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue