fix error in printf format string
This commit is contained in:
parent
992f8ef16e
commit
72e396fa64
@ -583,14 +583,14 @@ fi
|
|||||||
### stop postfix and dovecot mail containers to prevent mailflow during backup
|
### stop postfix and dovecot mail containers to prevent mailflow during backup
|
||||||
doDocker stop postfix
|
doDocker stop postfix
|
||||||
if [ "$dockerResultState" = "false" ] && [ "$dockerResultExit" -eq 0 ]; then
|
if [ "$dockerResultState" = "false" ] && [ "$dockerResultExit" -eq 0 ]; then
|
||||||
printf "%s[%s] -- [INFO] POSTFIX container stopped --$s\n" \
|
printf "%s[%s] -- [INFO] POSTFIX container stopped --%s\n" \
|
||||||
"$cyan" "$(stamp)" "$norm" >> "$logFile"
|
"$cyan" "$(stamp)" "$norm" >> "$logFile"
|
||||||
else
|
else
|
||||||
exitError 101 'Could not stop POSTFIX container.'
|
exitError 101 'Could not stop POSTFIX container.'
|
||||||
fi
|
fi
|
||||||
doDocker stop dovecot
|
doDocker stop dovecot
|
||||||
if [ "$dockerResultState" = "false" ] && [ "$dockerResultExit" -eq 0 ]; then
|
if [ "$dockerResultState" = "false" ] && [ "$dockerResultExit" -eq 0 ]; then
|
||||||
printf "%s[%s] -- [INFO] POSTFIX container stopped --$s\n" \
|
printf "%s[%s] -- [INFO] POSTFIX container stopped --%s\n" \
|
||||||
"$cyan" "$(stamp)" "$norm" >> "$logFile"
|
"$cyan" "$(stamp)" "$norm" >> "$logFile"
|
||||||
else
|
else
|
||||||
exitError 101 'Could not stop DOVECOT container.'
|
exitError 101 'Could not stop DOVECOT container.'
|
||||||
|
Loading…
Reference in New Issue
Block a user