From 3214ab09935949993c34ea74d5f9a87e17fdfb44 Mon Sep 17 00:00:00 2001 From: Ursadon Date: Thu, 14 Nov 2013 11:32:22 +0700 Subject: [PATCH] Fix for "line 318: [: too many arguments" error --- bin/v-backup-user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-backup-user b/bin/v-backup-user index 0fff0f4eb3..422425ca7c 100755 --- a/bin/v-backup-user +++ b/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