libifupdown: lifecycle: if in verbose mode, export VERBOSE to executors
This commit is contained in:
parent
83d64b0a69
commit
f8c14fc233
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,9 @@ lif_lifecycle_run_phase(const struct lif_execute_opts *opts, struct lif_interfac
|
||||||
else
|
else
|
||||||
lif_environment_push(&envp, "MODE", "stop");
|
lif_environment_push(&envp, "MODE", "stop");
|
||||||
|
|
||||||
|
if (opts->verbose)
|
||||||
|
lif_environment_push(&envp, "VERBOSE", "1");
|
||||||
|
|
||||||
struct lif_node *iter;
|
struct lif_node *iter;
|
||||||
bool did_address = false, did_gateway = false;
|
bool did_address = false, did_gateway = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue