diff --git a/apps/panel.c b/apps/panel.c index 812b888c..f56c32c2 100644 --- a/apps/panel.c +++ b/apps/panel.c @@ -298,6 +298,8 @@ static char * netstat_mac = NULL; static void update_network_status(void) { FILE * net = fopen("/proc/netif","r"); + if (!net) return; + char line[256]; do {