mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-09-30 05:59:07 +00:00
drop duplicate code
This commit is contained in:
parent
3569ece513
commit
4823b1f428
@ -5987,12 +5987,8 @@ char load_config_file(const char *f)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(fp);
|
|
||||||
if (strlen(global_text) < 1) {
|
|
||||||
CRIT_ERR(NULL, NULL, "no text supplied in configuration; exiting");
|
|
||||||
}
|
|
||||||
global_text_lines = line + 1;
|
global_text_lines = line + 1;
|
||||||
return TRUE;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef TCP_PORT_MONITOR
|
#ifdef TCP_PORT_MONITOR
|
||||||
CONF("max_port_monitor_connections") {
|
CONF("max_port_monitor_connections") {
|
||||||
|
Loading…
Reference in New Issue
Block a user