فهرست منبع

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 6 سال پیش
والد
کامیت
1974c49e58
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      helper-scripts/backup_and_restore.sh

+ 1 - 1
helper-scripts/backup_and_restore.sh

@@ -36,7 +36,7 @@ if [[ ! -d ${BACKUP_LOCATION} ]]; then
   if [[ ! ${CREATE_BACKUP_LOCATION,,} =~ ^(yes|y)$ ]]; then
     exit 1
   else
-    mkdir ${BACKUP_LOCATION}
+    mkdir -p ${BACKUP_LOCATION}
     chmod 755 ${BACKUP_LOCATION}
   fi
 else