Explicitly specify shell in runuser command

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-06-12 21:24:44 +02:00
parent 0ef1ef6193
commit efd3ce8a1c
+1 -1
View File
@@ -35,7 +35,7 @@ echo "BLOCKING_ENABLED=true" > /etc/pihole/setupVars.conf
echo "" > /etc/pihole/pihole-FTL.conf
# Start FTL
if ! runuser -l pihole -c /home/pihole/pihole-FTL; then
if ! runuser -l pihole -s /bin/sh -c /home/pihole/pihole-FTL; then
echo "pihole-FTL failed to start"
exit 1
fi