mirror of
https://github.com/junegunn/fzf.git
synced 2026-07-31 04:12:59 +08:00
Minor fixup
This commit is contained in:
@@ -36,7 +36,7 @@ func printScript(label string, content []byte) {
|
|||||||
|
|
||||||
func exit(code int, err error) {
|
func exit(code int, err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Stderr.WriteString(err.Error() + "\n")
|
fmt.Fprintln(os.Stderr, err.Error())
|
||||||
}
|
}
|
||||||
os.Exit(code)
|
os.Exit(code)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user