changed it so conky keeps running even if it can't find a file
authorBrenden Matthews <brenden1@rty.ca>
Fri, 16 Sep 2005 01:43:58 +0000 (01:43 +0000)
committerBrenden Matthews <brenden1@rty.ca>
Fri, 16 Sep 2005 01:43:58 +0000 (01:43 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@326 7f574dfc-610e-0410-a909-a81674777703

src/common.c

index 7850977..c5c792a 100644 (file)
@@ -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;
                }