From a2f3169716f8887b85902f6d7a4eb86f46da9183 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 23 Jul 2020 08:57:52 -0600 Subject: [PATCH] lifecycle: use /bin/run-parts instead of run-parts --- libifupdown/lifecycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libifupdown/lifecycle.c b/libifupdown/lifecycle.c index 647f6cf..19b33c5 100644 --- a/libifupdown/lifecycle.c +++ b/libifupdown/lifecycle.c @@ -177,7 +177,7 @@ lif_lifecycle_run_phase(const struct lif_execute_opts *opts, struct lif_interfac handle_commands_for_phase(opts, envp, iface, lifname, phase); /* we should do error handling here, but ifupdown1 doesn't */ - lif_execute_fmt(opts, envp, "run-parts /etc/network/if-%s.d", phase); + lif_execute_fmt(opts, envp, "/bin/run-parts /etc/network/if-%s.d", phase); lif_environment_free(&envp); return true;