diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index b683764f..2cc49e11 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -745,10 +745,8 @@ main() { "removecustomdns" ) RemoveCustomDNSAddress;; * ) helpFunc;; esac - shift - - if [[ $# = 0 ]]; then + if [[ $# = 0 ]]; then helpFunc fi } \ No newline at end of file