From cb01672be852d20f175dccbe38374de588061e66 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 25 Oct 2018 04:35:38 -0600 Subject: [PATCH] Updated variable name in container restart section err check --- root/scripts/backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index b5c296d..e84c45b 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -197,7 +197,7 @@ function cleanup { ## restart mailflow docker containers # start and verify postfix operateDocker start postfix - if [ "$dockerResult" = "true" ]; then + if [ "$dockerResultState" = "true" ]; then echo -e "${info}${stamp} -- [INFO] Postfix container is running --" \ "${normal}" >> "$logFile" else @@ -205,7 +205,7 @@ function cleanup { fi # start and verify dovecot operateDocker start dovecot - if [ "$dockerResult" = "true" ]; then + if [ "$dockerResultState" = "true" ]; then echo -e "${info}${stamp} -- [INFO] Dovecot container is running --" \ "${normal}" >> "$logFile" else