Skip to content

Commit

Permalink
conf check err message update
Browse files Browse the repository at this point in the history
  • Loading branch information
blacknon committed Feb 6, 2018
1 parent 6941d28 commit ad2f20b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ type ServerConfig struct {

func ReadConf(confPath string) (checkConf Config) {
if isExist(confPath) == false {
fmt.Printf("Config file(%s) Not Found.\nPlease create file.", confPath)
fmt.Printf("Config file(%s) Not Found.\nPlease create file.\n\n", confPath)
fmt.Printf("sample: %s\n", "https://raw.githubusercontent.com/blacknon/lssh/master/example/config.tml")
os.Exit(1)
}
// Read Config
Expand Down

0 comments on commit ad2f20b

Please sign in to comment.