Merge pull request #85 from Ursadon/master

Fix for "line 318: [: too many arguments" error
This commit is contained in:
Serghey Rodin 2013-11-13 22:35:43 -08:00
commit 449a9fbf7b

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