Skip to content

Commit 449a9fb

Browse files
committed
Merge pull request hestiacp#85 from Ursadon/master
Fix for "line 318: [: too many arguments" error
2 parents 3e521cb + 3214ab0 commit 449a9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ then
315315
tar -cpf $tmpdir/mail/$domain/accounts.tar $accounts
316316
fi
317317

318-
if [ ! -z "$BACKUP_GZIP" ] && [ ! -z $accounts ]; then
318+
if [ ! -z "$BACKUP_GZIP" ] && [ ! -z "$accounts" ]; then
319319
gzip -$BACKUP_GZIP $tmpdir/mail/$domain/accounts.tar
320320
fi
321321
done

0 commit comments

Comments
 (0)