fix logmessage if data directory doesn't exist

pull/92/head
zelig 11 years ago
parent 1b74b98f90
commit 2d48fc1113
  1. 2
      utils/cmd.go

@ -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)
}
}

Loading…
Cancel
Save