lifecycle: use /bin/run-parts instead of run-parts
This commit is contained in:
parent
bc9dc32a38
commit
a2f3169716
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
handle_commands_for_phase(opts, envp, iface, lifname, phase);
|
||||||
|
|
||||||
/* we should do error handling here, but ifupdown1 doesn't */
|
/* 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);
|
lif_environment_free(&envp);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue