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
|
||||
operateDocker stop postfix
|
||||
# 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}" \
|
||||
>> "$logFile"
|
||||
else
|
||||
@ -543,7 +543,7 @@ fi
|
||||
## Stop dovecot-mailcow container
|
||||
operateDocker stop dovecot
|
||||
# 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}" \
|
||||
>> "$logFile"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user