setupVars.conf not existing is no longer a critical error
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -46,10 +46,6 @@ curl_connect_timeout=10
|
|||||||
setupVars="${piholeDir}/setupVars.conf"
|
setupVars="${piholeDir}/setupVars.conf"
|
||||||
if [[ -f "${setupVars}" ]];then
|
if [[ -f "${setupVars}" ]];then
|
||||||
source "${setupVars}"
|
source "${setupVars}"
|
||||||
else
|
|
||||||
echo -e " ${COL_LIGHT_RED}Installation Failure: ${setupVars} does not exist! ${COL_NC}
|
|
||||||
Please run 'pihole -r', and choose the 'reconfigure' option to fix."
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set up tmp dir variable in case it's not configured
|
# Set up tmp dir variable in case it's not configured
|
||||||
|
|||||||
Reference in New Issue
Block a user