From 2e51a14d57c3a2e6e2189d2a4c39f09023e4c524 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 20 Jan 2003 23:50:59 +0000 Subject: New test mode that allows run_parts to fail silently if the directory is not found. Patch from Bastian Blank --- networking/ifupdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ifupdown.c') 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); } -- cgit v1.2.3