mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 14:17:40 +00:00
parent
b2ecb6352c
commit
94c33ac020
2
main.go
2
main.go
@ -39,7 +39,7 @@ func printScript(label string, content []byte) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func exit(code int, err error) {
|
func exit(code int, err error) {
|
||||||
if code == fzf.ExitError {
|
if code == fzf.ExitError && err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err.Error())
|
fmt.Fprintln(os.Stderr, err.Error())
|
||||||
}
|
}
|
||||||
os.Exit(code)
|
os.Exit(code)
|
||||||
|
Loading…
Reference in New Issue
Block a user