Fix integer expected bash syntax limit in $#
This commit is contained in:
parent
6c2d4a6a13
commit
e90253ca72
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue