Skip to content

Commit 3214ab0

Browse files
committed
Fix for "line 318: [: too many arguments" error
1 parent 3e521cb commit 3214ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

+1-1
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)