From 9e592633b9b3f6e40f490adfdf7e20a3131b02e7 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 9 Feb 2021 08:03:23 -0700 Subject: [PATCH] fix(BACKUP): bypass possible cd aliases --- backup/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/backup.sh b/backup/backup.sh index ab9b93b..9d516f8 100755 --- a/backup/backup.sh +++ b/backup/backup.sh @@ -617,7 +617,7 @@ if [ "$use503" -eq 1 ]; then fi ### 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 doDocker stop postfix