Fix for "line 318: [: too many arguments" error

This commit is contained in:
Ursadon 2013-11-14 11:32:22 +07:00
commit 3214ab0993

View file

@ -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