Create tmp directory if it doesn't exist already
This commit is contained in:
parent
def419a7cd
commit
808e7e3a87
@ -402,6 +402,7 @@ fi
|
||||
|
||||
# Grab the MySQL pass we need for dumping backups
|
||||
[ -d "/federated/apps/pdnsmysql" ] && MYSQL_PASSWORD=`cat /federated/apps/pdnsmysql/.env | grep MYSQL_ROOT_PASSWORD | awk -F= '{ print $2 }'`
|
||||
mkdir -p /federated/tmp
|
||||
|
||||
# If -d is specified then run delete backup
|
||||
[ $RUN_DELETE ] && delete_backup
|
||||
|
Loading…
x
Reference in New Issue
Block a user