fix arguments for [ command (#783)

This commit is contained in:
Toru Hisai 2017-12-31 10:49:15 +01:00 committed by Johan Smits
parent c26d02a910
commit b0526d0afe

View file

@ -119,7 +119,7 @@ if ! [ $resu_acc = "OK" ] || ! [ $resu_vir = "OK" ]; then
supervisorctl restart postfix supervisorctl restart postfix
# Prevent restart of dovecot when smtp_only=1 # Prevent restart of dovecot when smtp_only=1
if [ ! -f $SMTP_ONLY = 1 ]; then if [ ! $SMTP_ONLY = 1 ]; then
supervisorctl restart dovecot supervisorctl restart dovecot
fi fi