projects
/
sysstatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check if battery/netif present, add fan support
[sysstatus.git]
/
statuses
/
netif.c
diff --git
a/statuses/netif.c
b/statuses/netif.c
index 865e4a7a22962d7c5b471cd92f8dc370264e07d1..d5cc8037610a7b408eb6fda55c26fce3c3489399 100644
(file)
--- a/
statuses/netif.c
+++ b/
statuses/netif.c
@@
-57,6
+57,8
@@
void status_netif(char *ifname)
//fputs("^fg(red)", stdout);
return;
}
+ } else {
+ return;
}
strcpy(&ifpath[ifpathlen], "/statistics/rx_bytes");