From e90253ca72a005da2ce55e55c5a147cc2934d142 Mon Sep 17 00:00:00 2001 From: xtcnet Date: Sat, 7 Mar 2026 21:00:56 +0700 Subject: [PATCH] Fix integer expected bash syntax limit in $# --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index fda05ba..66df1f3 100644 --- a/install.sh +++ b/install.sh @@ -178,10 +178,10 @@ function menu() { } # Run menu if no arguments, else run the command -if [ $# -eq 0 ]; then +if [ "$#" -eq 0 ]; then menu else - case $1 in + case "$1" in install) install_npm_wg ;; uninstall) uninstall_npm_wg ;; reset) reset_password ;;