From b0526d0afea34044997c426e4205e1bc8f8be8a3 Mon Sep 17 00:00:00 2001 From: Toru Hisai Date: Sun, 31 Dec 2017 10:49:15 +0100 Subject: [PATCH] fix arguments for [ command (#783) --- target/check-for-changes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/check-for-changes.sh b/target/check-for-changes.sh index 50b6349b..8cf78e02 100755 --- a/target/check-for-changes.sh +++ b/target/check-for-changes.sh @@ -119,7 +119,7 @@ if ! [ $resu_acc = "OK" ] || ! [ $resu_vir = "OK" ]; then supervisorctl restart postfix # Prevent restart of dovecot when smtp_only=1 - if [ ! -f $SMTP_ONLY = 1 ]; then + if [ ! $SMTP_ONLY = 1 ]; then supervisorctl restart dovecot fi