diff options
author | Hubert Hirtz <hubert@hirtz.pm> | 2021-05-01 13:58:45 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-05-01 13:58:45 +0200 |
commit | 10d6a2390ff21a248773ffc7182a89754104e68c (patch) | |
tree | 1efd56d6f7268fe0a2c654f3577c8a9392b494a2 /cmd | |
parent | Update documentation examples and add warning (diff) |
Print config error message on stderr
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/senpai/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/senpai/main.go b/cmd/senpai/main.go index c2992b0..c9a581f 100644 --- a/cmd/senpai/main.go +++ b/cmd/senpai/main.go @@ -35,7 +35,7 @@ func main() { cfg, err := senpai.LoadConfigFile(configPath) if err != nil { - fmt.Printf("failed to load the required configuraiton file at %q: %s\n", configPath, err) + fmt.Fprintf(os.Stderr, "failed to load the required configuraiton file at %q: %s\n", configPath, err) os.Exit(1) } |