Fixes from Neilpang

This commit is contained in:
Serghey Rodin 2015-10-22 17:23:44 +03:00
commit e3f636cb3a
2 changed files with 7 additions and 1 deletions

View file

@ -52,7 +52,7 @@ is_system_enabled "$FIREWALL_SYSTEM" 'FIREWALL_SYSTEM'
get_next_fw_rule
validate_format 'rule'
is_object_new '../../data/firewall/rules' 'RULE' "$rule"
if [ ! -z "$comment"]; then
if [ ! -z "$comment" ]; then
validate_format 'comment'
fi