diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-01-20 23:50:59 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-01-20 23:50:59 +0000 |
commit | 2e51a14d57c3a2e6e2189d2a4c39f09023e4c524 (patch) | |
tree | 0853a379684502123b8f744c5f3d81634c5f114c /networking/ifupdown.c | |
parent | aad465efb7db4a86166149ed1ea251347ea2a606 (diff) | |
download | busybox-w32-2e51a14d57c3a2e6e2189d2a4c39f09023e4c524.tar.gz busybox-w32-2e51a14d57c3a2e6e2189d2a4c39f09023e4c524.tar.bz2 busybox-w32-2e51a14d57c3a2e6e2189d2a4c39f09023e4c524.zip |
New test mode that allows run_parts to fail silently if the directory
is not found. Patch from Bastian Blank
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r-- | networking/ifupdown.c | 2 |
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) | |||
1010 | 1010 | ||
1011 | buf = xmalloc(xstrlen(opt) + 19); | 1011 | buf = xmalloc(xstrlen(opt) + 19); |
1012 | sprintf(buf, "/etc/network/if-%s.d", opt); | 1012 | sprintf(buf, "/etc/network/if-%s.d", opt); |
1013 | run_parts(&buf, 0); | 1013 | run_parts(&buf, 2); |
1014 | free(buf); | 1014 | free(buf); |
1015 | return (1); | 1015 | return (1); |
1016 | } | 1016 | } |