good morning!!!!

Skip to content
Snippets Groups Projects
Commit 2d48fc11 authored by Viktor Trón's avatar Viktor Trón
Browse files

fix logmessage if data directory doesn't exist

parent 1b74b98f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment