Explorar o código

Merge pull request #85 from Ursadon/master

Fix for "line 318: [: too many arguments" error
Serghey Rodin %!s(int64=12) %!d(string=hai) anos
pai
achega
449a9fbf7b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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