Signed-off-by: Matt Darfeuille <[email protected]>
---
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
--
2.17.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel