aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-09 22:48:08 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-09 22:48:08 +0000
commit3cbe0f2d98a93afc09e148d8fa641e1cbaee3a9c (patch)
treeba80811d0e5eb5484487e62215329f20f8ff1cad
parentb83a7c9d02cdee21ad780e08b18939e02e7d6eab (diff)
downloadbusybox-w32-3cbe0f2d98a93afc09e148d8fa641e1cbaee3a9c.tar.gz
busybox-w32-3cbe0f2d98a93afc09e148d8fa641e1cbaee3a9c.tar.bz2
busybox-w32-3cbe0f2d98a93afc09e148d8fa641e1cbaee3a9c.zip
ifupdown: do not complain if !/var/run/ifstate
git-svn-id: svn://busybox.net/trunk/busybox@18059 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
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)
1119 if (!startup_PATH) startup_PATH = ""; 1119 if (!startup_PATH) startup_PATH = "";
1120 1120
1121 /* Read the previous state from the state file */ 1121 /* Read the previous state from the state file */
1122 state_fp = fopen_or_warn("/var/run/ifstate", "r"); 1122 state_fp = fopen("/var/run/ifstate", "r");
1123 if (state_fp) { 1123 if (state_fp) {
1124 char *start, *end_ptr; 1124 char *start, *end_ptr;
1125 while ((start = xmalloc_fgets(state_fp)) != NULL) { 1125 while ((start = xmalloc_fgets(state_fp)) != NULL) {