1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-06-20 14:36:39 +02:00

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
commit 1fe6506e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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