diff --git a/Documents/bin/wifi-login b/Documents/bin/wifi-login index 5bda98937f410b75f3552f045a95c0d68dedd975..765339463a87c05087eceb47b940222e382a37b6 100755 --- a/Documents/bin/wifi-login +++ b/Documents/bin/wifi-login @@ -48,7 +48,7 @@ iswifi () { } wifi_connection () { - nmcli --terse --fields GENERAL.CONNECTION device show "$1" | awk -F: '{print tolowe(r$2)}' + nmcli --terse --fields GENERAL.CONNECTION device show "$1" | awk -F: '{print tolower(r$2)}' } if [ $# -ne 2 ]