Send error message to stderr
This commit is contained in:
1 parent
c9a20ae10c
commit
91099694c9
1 file changed
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func fatal(err error) {
|
||||
fmt.Println(err)
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user