Parcourir la source

Merge pull request #85 from Ursadon/master

Fix for "line 318: [: too many arguments" error
Serghey Rodin il y a 12 ans
Parent
commit
449a9fbf7b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      bin/v-backup-user

+ 1 - 1
bin/v-backup-user

@@ -315,7 +315,7 @@ then
             tar -cpf $tmpdir/mail/$domain/accounts.tar  $accounts
         fi
 
-        if [ ! -z "$BACKUP_GZIP" ] && [ ! -z $accounts ]; then
+        if [ ! -z "$BACKUP_GZIP" ] && [ ! -z "$accounts" ]; then
             gzip -$BACKUP_GZIP $tmpdir/mail/$domain/accounts.tar
         fi
     done