diff --git a/README.md b/README.md index 3a9ec28..e249c1b 100644 --- a/README.md +++ b/README.md @@ -337,7 +337,7 @@ func initConfig() { // Find home directory. home, err := homedir.Dir() if err != nil { - fmt.Println(home) + fmt.Println(err) os.Exit(1) }