diff --git a/pihole b/pihole index aad83451..ed8eb856 100755 --- a/pihole +++ b/pihole @@ -425,7 +425,7 @@ tricorderFunc() { } updateCheckFunc() { - "${PI_HOLE_SCRIPT_DIR}"/updatecheck.sh "$@" + "${PI_HOLE_SCRIPT_DIR}"/updatecheck.sh "$1" exit 0 } @@ -553,7 +553,7 @@ case "${1}" in "restartdns" ) restartDNS "$2";; "-a" | "admin" ) webpageFunc "$@";; "checkout" ) piholeCheckoutFunc "$@";; - "updatechecker" ) updateCheckFunc "$@";; + "updatechecker" ) updateCheckFunc "$2";; "arpflush" ) arpFunc "$@";; "-t" | "tail" ) tailFunc "$2";; esac