mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-20 13:37:31 +02:00
Minor fixup
This commit is contained in:
parent
af65aa298a
commit
8256fcde15
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -36,7 +36,7 @@ func printScript(label string, content []byte) {
|
|||
|
||||
func exit(code int, err error) {
|
||||
if err != nil {
|
||||
os.Stderr.WriteString(err.Error() + "\n")
|
||||
fmt.Fprintln(os.Stderr, err.Error())
|
||||
}
|
||||
os.Exit(code)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue