mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
changed it so conky keeps running even if it can't find a file
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@326 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
ca591b58c3
commit
cc4081f864
@ -35,7 +35,7 @@ FILE *open_file(const char *file, int *reported)
|
||||
FILE *fp = fopen(file, "r");
|
||||
if (!fp) {
|
||||
if (!reported || *reported == 0) {
|
||||
CRIT_ERR("can't open %s: %s", file, strerror(errno));
|
||||
ERR("can't open %s: %s", file, strerror(errno));
|
||||
if (reported)
|
||||
*reported = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user