mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-01 19:01:13 +00:00
Use concatenate of arguments instead of using the array directly
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
b835fa06a6
commit
fe8e63853c
2
pihole
2
pihole
@ -572,7 +572,7 @@ fi
|
||||
# requires root. If so, exit with an error message.
|
||||
if [[ $EUID -ne 0 && ${USER} != "pihole" && need_root -eq 1 ]];then
|
||||
echo -e " ${CROSS} The Pi-hole command requires root privileges, try:"
|
||||
echo -e " ${COL_GREEN}sudo pihole ${@}${COL_NC}"
|
||||
echo -e " ${COL_GREEN}sudo pihole $*${COL_NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user