2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-25 04:05:58 +00:00

restic-server: Create tmp folder

This commit is contained in:
Fabian Wickborn 2016-02-22 17:31:09 +01:00
parent 1cdbc8e1aa
commit dd5680dab6

View File

@ -28,6 +28,7 @@ func main() {
"index", "index",
"locks", "locks",
"keys", "keys",
"tmp",
} }
for _, d := range dirs { for _, d := range dirs {
os.MkdirAll(filepath.Join(*path, d), 0700) os.MkdirAll(filepath.Join(*path, d), 0700)