summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/validators/ipv4-range4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/validators/ipv4-range b/src/validators/ipv4-range
index ae3f3f163..cc59039f1 100755
--- a/src/validators/ipv4-range
+++ b/src/validators/ipv4-range
@@ -28,6 +28,8 @@ if [[ "$1" =~ "-" ]]; then
if [ $start -ge $stop ]; then
exit 1
fi
+
+ exit 0
fi
-exit 0
+exit 1