Ipdecimal: Correct error when missing arguments

Signed-off-by: Matt Darfeuille <matdarf@gmail.com>
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Matt Darfeuille 2018-04-27 19:58:48 +02:00 committed by Tom Eastep
parent 65e174a073
commit 45d1ef3978
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -3815,7 +3815,7 @@ iprange_command() {
}
ipdecimal_command() {
if [ $# eq 1 ]; then
if [ $# -eq 1 ]; then
missing_argument
else
[ $# -eq 2 ] || too_many_arguments $3