Check if battery/netif present, add fan support
[sysstatus.git] / statuses / netif.c
index 865e4a7a22962d7c5b471cd92f8dc370264e07d1..d5cc8037610a7b408eb6fda55c26fce3c3489399 100644 (file)
@@ -57,6 +57,8 @@ void status_netif(char *ifname)
                        //fputs("^fg(red)", stdout);
                        return;
                }
+       } else {
+               return;
        }
 
        strcpy(&ifpath[ifpathlen], "/statistics/rx_bytes");