fix logmessage if data directory doesn't exist
This commit is contained in:
parent
1b74b98f90
commit
2d48fc1113
@ -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…
Reference in New Issue
Block a user