mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
Move exit 1
outside of if
block on verbose check to stop dnsmasq reloading
This commit is contained in:
parent
ab99e80333
commit
107e0404de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user