Merge pull request #1247 from pi-hole/tweak/ftlrun

Remove unneeded variable reference in FTL run script
This commit is contained in:
Adam Warner
2022-12-10 16:48:15 +00:00
committed by GitHub

View File

@@ -38,8 +38,7 @@ if [ ! -f /var/log/pihole-FTL.log ]; then
chown -h pihole:pihole /var/log/pihole-FTL.log chown -h pihole:pihole /var/log/pihole-FTL.log
fi fi
# Call capsh with the detected capabilities capsh --user=$DNSMASQ_USER --keep=1 -- -c "/usr/bin/pihole-FTL $FTL_CMD >/dev/null 2>&1"
capsh --inh=${CAP_STR:1} --addamb=${CAP_STR:1} --user=$DNSMASQ_USER --keep=1 -- -c "/usr/bin/pihole-FTL $FTL_CMD >/dev/null 2>&1"
# Notes on above: # Notes on above:
# - DNSMASQ_USER default of pihole is in Dockerfile & can be overwritten by runtime container env # - DNSMASQ_USER default of pihole is in Dockerfile & can be overwritten by runtime container env