fix logmessage if data directory doesn't exist

This commit is contained in:
zelig 2014-06-29 13:43:27 +01:00
parent 1b74b98f90
commit 2d48fc1113

View File

@ -77,7 +77,7 @@ func InitDataDir(Datadir string) {
_, err := os.Stat(Datadir)
if err != nil {
if os.IsNotExist(err) {
fmt.Printf("Debug logging directory '%s' doesn't exist, creating it\n", Datadir)
fmt.Printf("Data directory '%s' doesn't exist, creating it\n", Datadir)
os.Mkdir(Datadir, 0777)
}
}