Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-10-07 11:51:36 +01:00
parent 49d5109c96
commit cc2f375b13
No known key found for this signature in database
GPG key ID: F5410858022DA5EB

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