aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-01-20 23:50:59 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-01-20 23:50:59 +0000
commit2e51a14d57c3a2e6e2189d2a4c39f09023e4c524 (patch)
tree0853a379684502123b8f744c5f3d81634c5f114c /networking
parentaad465efb7db4a86166149ed1ea251347ea2a606 (diff)
downloadbusybox-2e51a14d57c3a2e6e2189d2a4c39f09023e4c524.tar.gz
New test mode that allows run_parts to fail silently if the directory
is not found. Patch from Bastian Blank
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index be09ea6e7..f33dbc43c 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -1010,7 +1010,7 @@ static int execute_all(interface_defn_t *ifd, execfn *exec, const char *opt)
buf = xmalloc(xstrlen(opt) + 19);
sprintf(buf, "/etc/network/if-%s.d", opt);
- run_parts(&buf, 0);
+ run_parts(&buf, 2);
free(buf);
return (1);
}