commit | 2e51a14d57c3a2e6e2189d2a4c39f09023e4c524 | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Mon Jan 20 23:50:59 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Mon Jan 20 23:50:59 2003 +0000 |
tree | 0853a379684502123b8f744c5f3d81634c5f114c | |
parent | aad465efb7db4a86166149ed1ea251347ea2a606 [diff] [blame] |
New test mode that allows run_parts to fail silently if the directory is not found. Patch from Bastian Blank
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index be09ea6..f33dbc4 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c
@@ -1010,7 +1010,7 @@ 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); }