Browse Source

[-] Disable network display when network is not detected

Hykilpikonna 2 năm trước cách đây
mục cha
commit
1ba7b339c9
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      neofetch

+ 1 - 3
neofetch

@@ -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
 }