From: Siraaj Khandkar Date: Wed, 6 Mar 2019 01:49:59 +0000 (-0500) Subject: Simplify wifi negative status X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=9e9b8570be5592e4f375cb3c888136b24da8139f;p=khatus.git Simplify wifi negative status --- diff --git a/x2/src/awk/exe/parse_iwconfig.awk b/x2/src/awk/exe/parse_iwconfig.awk index 95eedd1..8af18bd 100644 --- a/x2/src/awk/exe/parse_iwconfig.awk +++ b/x2/src/awk/exe/parse_iwconfig.awk @@ -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) }