diff --git a/gravity.sh b/gravity.sh index 08e94f8b..f2204c62 100755 --- a/gravity.sh +++ b/gravity.sh @@ -24,8 +24,8 @@ else # Check if it is actually installed # If it isn't, exit because the install cannot complete if [[ $(dpkg-query -s sudo) ]];then - echo "::: Running sudo -u pihole $@" - sudo -u pihole "$@" + echo "::: Running sudo -u pihole $0 $@" + sudo -u pihole "$0" "$@" exit $? else echo "::: Please install sudo."