Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Send error message to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Jul 1, 2015
1 parent 26276ac commit 7b55f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prog/netcheck/netcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func fatal(err error) {
fmt.Println(err)
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}

Expand Down

0 comments on commit 7b55f4e

Please sign in to comment.