diff options
Diffstat (limited to 'cmd/restore.go')
-rw-r--r-- | cmd/restore.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/restore.go b/cmd/restore.go index 4e000422..8e2d2d1f 100644 --- a/cmd/restore.go +++ b/cmd/restore.go @@ -101,6 +101,7 @@ func runRestore(c *cli.Context) error { // Data files if !c.Bool("database-only") { + os.MkdirAll(setting.AppDataPath, os.ModePerm) for _, dir := range []string{"attachments", "avatars"} { dirPath := path.Join(setting.AppDataPath, dir) if com.IsExist(dirPath) { |