ifupdown: do not complain if !/var/run/ifstate
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 9 Mar 2007 22:48:08 +0000 (22:48 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 9 Mar 2007 22:48:08 +0000 (22:48 -0000)
networking/ifupdown.c

index 8e750feafb9acab0b2e6b1560522e2fb7cafcf3f..9d35254eeb96756a19e70b4a3695c0478bf245ed 100644 (file)
@@ -1119,7 +1119,7 @@ int ifupdown_main(int argc, char **argv)
        if (!startup_PATH) startup_PATH = "";
 
        /* Read the previous state from the state file */
-       state_fp = fopen_or_warn("/var/run/ifstate", "r");
+       state_fp = fopen("/var/run/ifstate", "r");
        if (state_fp) {
                char *start, *end_ptr;
                while ((start = xmalloc_fgets(state_fp)) != NULL) {