mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +00:00
Pass only the correct argument
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
parent
983d79b3e6
commit
f3c27f706f
4
pihole
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user