Merge pull request #2451 from pi-hole/fix/2450

fix for #2450
This commit is contained in:
Mark Drobnak 2018-10-07 21:02:39 -04:00 committed by GitHub
commit 13c393fc9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1259,7 +1259,7 @@ installConfigs() {
version_check_dnsmasq version_check_dnsmasq
# Install empty file if it does not exist # Install empty file if it does not exist
if [[ ! -f "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" ]]; then if [[ ! -f "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" ]]; then
if ! install -o pihole -g pihole -m 664 /dev/null "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" &>/dev/nul; then if ! install -o pihole -g pihole -m 664 /dev/null "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" &>/dev/null; then
echo -e " ${COL_LIGHT_RED}Error: Unable to initialize configuration file ${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" echo -e " ${COL_LIGHT_RED}Error: Unable to initialize configuration file ${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf"
return 1 return 1
fi fi