Simplify wifi negative status
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 6 Mar 2019 01:49:59 +0000 (20:49 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 6 Mar 2019 01:49:59 +0000 (20:49 -0500)
x2/src/awk/exe/parse_iwconfig.awk

index 95eedd1..8af18bd 100644 (file)
@@ -30,6 +30,6 @@
 
 END {
     i = requested_interface
-    status = link[i] ? sprintf("%s:%d%%", essid[i], link[i]) : "--:--%"
+    status = link[i] ? sprintf("%s:%d%%", essid[i], link[i]) : "--"
     print("status" Kfs i, status)
 }
This page took 0.029657 seconds and 4 git commands to generate.