From fe8e63853cf69e077eae5dedbe523f19ec0a5b0b Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 22 Jun 2024 20:49:44 +0200 Subject: [PATCH] Use concatenate of arguments instead of using the array directly Signed-off-by: DL6ER --- pihole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pihole b/pihole index 00cbd893..1313d487 100755 --- a/pihole +++ b/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