mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +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
|
||||
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 a new issue