mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-25 00:30:29 +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
1 changed files with 3 additions and 3 deletions
|
@ -219,10 +219,10 @@ if $modifyHost || $force; then
|
||||||
ModifyHostFile
|
ModifyHostFile
|
||||||
else
|
else
|
||||||
if $verbose; then
|
if $verbose; then
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: No changes need to be made"
|
echo "::: No changes need to be made"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $reload; then
|
if $reload; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue