minor loopback validy check fix
This commit is contained in:
parent
3592ea524b
commit
fbb3ac8d6f
|
@ -21,7 +21,7 @@ case "$1" in
|
||||||
echo "LOOPBACK NOT CONFIGURED, aborting..."
|
echo "LOOPBACK NOT CONFIGURED, aborting..."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
if [[ $LOOPBACKv4 = "10.1."* ]]; then
|
if [[ $LOOPBACKv4 != "10.1."* ]]; then
|
||||||
echo "only 10.1.x.y loopbacks supported at the moment"
|
echo "only 10.1.x.y loopbacks supported at the moment"
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue