aboutsummaryrefslogtreecommitdiff
path: root/coWifi
diff options
context:
space:
mode:
Diffstat (limited to 'coWifi')
-rwxr-xr-xcoWifi4
1 files changed, 2 insertions, 2 deletions
diff --git a/coWifi b/coWifi
index 5e17619..0f52fcc 100755
--- a/coWifi
+++ b/coWifi
@@ -26,8 +26,8 @@ function guess_wifi {
-if [ "$1" == 'off' ] ; then
- if [ -z "$2" ] ; then
+if [ "$1" == 'off' ] ; then
+ if [ -z "$2" ] ; then
interface=$(guess_wifi '')
else
interface=$(guess_wifi 'all')