summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-09 22:48:08 +0000
committerDenis Vlasenko2007-03-09 22:48:08 +0000
commit2b52b2797bae774656b3f79ed1939a08fbed7b0e (patch)
treeba80811d0e5eb5484487e62215329f20f8ff1cad
parent3aba666514c8c1d6d5b21961e8f4253fd6dd2cca (diff)
downloadbusybox-2b52b2797bae774656b3f79ed1939a08fbed7b0e.zip
busybox-2b52b2797bae774656b3f79ed1939a08fbed7b0e.tar.gz
ifupdown: do not complain if !/var/run/ifstate
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 8e750fe..9d35254 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) {