|
@@ -143,7 +143,7 @@ func FileSystemInit() {
|
|
|
})
|
|
|
|
|
|
//Create user root if not exists
|
|
|
- err := os.MkdirAll(*root_directory+"users/", 0755)
|
|
|
+ err := os.MkdirAll(filepath.Join(*root_directory, "users/"), 0755)
|
|
|
if err != nil {
|
|
|
systemWideLogger.PrintAndLog("File System", "Failed to create system storage root", err)
|
|
|
panic(err)
|