Skip to content

Commit e338aff

Browse files
author
Kristan Kenney
committed
Fix argument check in v-change-firewall-rule
1 parent 4f3c6fc commit e338aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-change-firewall-rule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ sort_fw_rules() {
4444
# Verifications #
4545
#----------------------------------------------------------#
4646

47-
check_args '5' "$#" 'RULE ACTION IP PORT [PROTOCOL] [COMMENT]'
47+
check_args '4' "$#" 'RULE ACTION IP PORT [PROTOCOL] [COMMENT]'
4848
is_format_valid 'rule' 'action' 'protocol' 'port_ext'
4949
if [ ! -z "$comment" ]; then
5050
is_format_valid 'comment'

0 commit comments

Comments
 (0)