lifecycle: use /bin/run-parts instead of run-parts

This commit is contained in:
Ariadne Conill 2020-07-23 08:57:52 -06:00
parent bc9dc32a38
commit a2f3169716

View file

@ -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;