From 45d1ef3978f07ffba5c6fe5074029a4ece5c3e8b Mon Sep 17 00:00:00 2001 From: Matt Darfeuille Date: Fri, 27 Apr 2018 19:58:48 +0200 Subject: [PATCH] Ipdecimal: Correct error when missing arguments Signed-off-by: Matt Darfeuille Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index f8f875c5e..0e2de1525 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -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