From 742957bc51dd5d46c80c9b73f16ed07b5de46063 Mon Sep 17 00:00:00 2001 From: zanuka Date: Wed, 20 Jun 2018 13:10:39 +1200 Subject: [PATCH] fixes mkdir issue for win64 release --- app/fs/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fs/fs.go b/app/fs/fs.go index 255e694..70acc99 100644 --- a/app/fs/fs.go +++ b/app/fs/fs.go @@ -72,7 +72,7 @@ func CreateDataDir(dirPath string) { // build the path for current daemon path += dirPath - err = os.Mkdir(path, 0777) + err = os.MkdirAll(path, 0777) if err != nil { log.Println(err)