Send error message to stderr

This commit is contained in:
Bryan Boreham committed 2015-07-01 12:17:02 +01:00
1 parent c9a20ae10c
commit 91099694c9
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
func fatal(err error) {
fmt.Println(err)
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}