diff options
Diffstat (limited to 'src-wireless/netcfg-auto-wireless')
-rw-r--r-- | src-wireless/netcfg-auto-wireless | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-wireless/netcfg-auto-wireless b/src-wireless/netcfg-auto-wireless index 24edcfb..bbee281 100644 --- a/src-wireless/netcfg-auto-wireless +++ b/src-wireless/netcfg-auto-wireless @@ -80,8 +80,8 @@ wifi_auto() if [[ $(id -u) -ne 0 ]]; then exit_stderr "This script needs to be run with root privileges" fi -if [[ -z $1 ]]; then +if [[ -z "$1" ]]; then exit_stderr "Please supply an interface to connect" fi -wifi_auto $1 +wifi_auto "$1" |