Move exit 1 outside of if block on verbose check to stop dnsmasq reloading

This commit is contained in:
Promofaux 2016-04-08 23:01:13 +01:00
parent ab99e80333
commit 107e0404de

View file

@ -219,10 +219,10 @@ if $modifyHost || $force; then
ModifyHostFile
else
if $verbose; then
echo ":::"
echo "::: No changes need to be made"
exit 1
echo ":::"
echo "::: No changes need to be made"
fi
exit 1
fi
if $reload; then