Skip to content
Myr

Fix panic when parent process is killed

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #3863

authored by Junegunn Choi · committed by Junegunn Choi · parent b2ecb63 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:main.go+1 added-1 removed
37 unmodified lines
38 fmt.Println("### end: " + label + " ###")39}4041func exit(code int, err error) {42 if code == fzf.ExitError {42 if code == fzf.ExitError && err != nil {43 fmt.Fprintln(os.Stderr, err.Error())44 }45 os.Exit(code)46}
55 unmodified lines