1
0
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:
Phil Sutter 2009-09-20 04:07:45 +02:00
parent 3569ece513
commit 4823b1f428

View File

@ -5987,12 +5987,8 @@ char load_config_file(const char *f)
break;
}
}
fclose(fp);
if (strlen(global_text) < 1) {
CRIT_ERR(NULL, NULL, "no text supplied in configuration; exiting");
}
global_text_lines = line + 1;
return TRUE;
break;
}
#ifdef TCP_PORT_MONITOR
CONF("max_port_monitor_connections") {