Fixed incorrect variable in err check section of container stop
This commit is contained in:
parent
cb01672be8
commit
7eebd44ce4
@ -532,7 +532,7 @@ cd "$mailcowPath"
|
|||||||
## Stop postfix-mailcow container
|
## Stop postfix-mailcow container
|
||||||
operateDocker stop postfix
|
operateDocker stop postfix
|
||||||
# process result
|
# process result
|
||||||
if [ "$dockerResultState" = "False" ] && [ "$dockerResultExit" -eq 0 ]; then
|
if [ "$dockerResultState" = "false" ] && [ "$dockerResultExit" -eq 0 ]; then
|
||||||
echo -e "${info}${stamp} -- [INFO] Postfix container stopped --${normal}" \
|
echo -e "${info}${stamp} -- [INFO] Postfix container stopped --${normal}" \
|
||||||
>> "$logFile"
|
>> "$logFile"
|
||||||
else
|
else
|
||||||
@ -543,7 +543,7 @@ fi
|
|||||||
## Stop dovecot-mailcow container
|
## Stop dovecot-mailcow container
|
||||||
operateDocker stop dovecot
|
operateDocker stop dovecot
|
||||||
# process result
|
# process result
|
||||||
if [ "$dockerResultState" = "False" ] && [ "$dockerResult" -eq 0 ]; then
|
if [ "$dockerResultState" = "false" ] && [ "$dockerResultExit" -eq 0 ]; then
|
||||||
echo -e "${info}${stamp} -- [INFO] Dovecot container stopped --${normal}" \
|
echo -e "${info}${stamp} -- [INFO] Dovecot container stopped --${normal}" \
|
||||||
>> "$logFile"
|
>> "$logFile"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user