fix(BACKUP): bypass possible cd aliases

This commit is contained in:
Asif Bacchus 2021-02-09 08:03:23 -07:00
parent e127616800
commit 9e592633b9

View File

@ -617,7 +617,7 @@ if [ "$use503" -eq 1 ]; then
fi fi
### change to mailcow directory so docker commands execute properly ### change to mailcow directory so docker commands execute properly
cd "${mcConfig%/*}" || exitError 100 'Could not change to mailcow directory.' \cd "${mcConfig%/*}" || exitError 100 'Could not change to mailcow directory.'
### stop postfix and dovecot mail containers to prevent mailflow during backup ### stop postfix and dovecot mail containers to prevent mailflow during backup
doDocker stop postfix doDocker stop postfix