Updated variable name in container restart section err check
This commit is contained in:
parent
509a858038
commit
cb01672be8
@ -197,7 +197,7 @@ function cleanup {
|
|||||||
## restart mailflow docker containers
|
## restart mailflow docker containers
|
||||||
# start and verify postfix
|
# start and verify postfix
|
||||||
operateDocker start postfix
|
operateDocker start postfix
|
||||||
if [ "$dockerResult" = "true" ]; then
|
if [ "$dockerResultState" = "true" ]; then
|
||||||
echo -e "${info}${stamp} -- [INFO] Postfix container is running --" \
|
echo -e "${info}${stamp} -- [INFO] Postfix container is running --" \
|
||||||
"${normal}" >> "$logFile"
|
"${normal}" >> "$logFile"
|
||||||
else
|
else
|
||||||
@ -205,7 +205,7 @@ function cleanup {
|
|||||||
fi
|
fi
|
||||||
# start and verify dovecot
|
# start and verify dovecot
|
||||||
operateDocker start dovecot
|
operateDocker start dovecot
|
||||||
if [ "$dockerResult" = "true" ]; then
|
if [ "$dockerResultState" = "true" ]; then
|
||||||
echo -e "${info}${stamp} -- [INFO] Dovecot container is running --" \
|
echo -e "${info}${stamp} -- [INFO] Dovecot container is running --" \
|
||||||
"${normal}" >> "$logFile"
|
"${normal}" >> "$logFile"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user