Move exit 1
outside of if
block on verbose check to stop dnsmasq reloading
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user