diff options
-rw-r--r-- | net/wpa_supplicant.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wpa_supplicant.sh b/net/wpa_supplicant.sh index 3f8e1b1..9f024c0 100644 --- a/net/wpa_supplicant.sh +++ b/net/wpa_supplicant.sh @@ -57,7 +57,7 @@ wpa_supplicant_pre_start() [ -z "${cliopts}" ] && cliopts=${wpa_cli} set -- $opts local opt_D - while [ ${#*} -gt 0 ]; do + while [ "$#" -gt 0 ]; do local opt=$1 ; shift case "$opt" in -D) opt_D=${1} ; shift ;; |