Minor fixup

This commit is contained in:
Junegunn Choi 2024-05-07 23:49:30 +09:00
parent af65aa298a
commit 8256fcde15
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}