[Backup] Create nested directory for backup

master
André Peters 2019-02-08 20:35:23 +01:00 committed by GitHub
commit b24fc6ad8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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