From 107e0404de91309ebfef9fbf06ad51306b2a85e1 Mon Sep 17 00:00:00 2001 From: Promofaux Date: Fri, 8 Apr 2016 23:01:13 +0100 Subject: [PATCH] Move `exit 1` outside of `if` block on verbose check to stop dnsmasq reloading --- advanced/Scripts/whitelist.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/advanced/Scripts/whitelist.sh b/advanced/Scripts/whitelist.sh index 852e319d..00556476 100755 --- a/advanced/Scripts/whitelist.sh +++ b/advanced/Scripts/whitelist.sh @@ -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