[-] Disable network display when network is not detected

This commit is contained in:
Hykilpikonna
2022-09-20 11:44:17 -04:00
parent 9e001c530f
commit 1ba7b339c9
+1 -3
View File
@@ -3223,9 +3223,7 @@ get_network() {
fi
fi
done < <(sort -rn <<<"$networks" | uniq -c)
if [ -z "$network" ]; then
network="None"
else
if [ -n "$network" ]; then
network="${network%; }"
fi
}