1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-17 21:59:55 +00:00

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
# Install empty file if it does not exist
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"
return 1
fi