From: Denis Vlasenko Date: Fri, 9 Mar 2007 22:48:08 +0000 (-0000) Subject: ifupdown: do not complain if !/var/run/ifstate X-Git-Tag: 1_5_1~85 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b52b2797bae774656b3f79ed1939a08fbed7b0e;p=oweals%2Fbusybox.git ifupdown: do not complain if !/var/run/ifstate --- diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 8e750feaf..9d35254ee 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -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) {