fix(BACKUP): bypass possible cd aliases
This commit is contained in:
parent
e127616800
commit
9e592633b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user