diff options
Diffstat (limited to 'discover')
-rw-r--r-- | discover/boot.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/discover/boot.c b/discover/boot.c index 13dfe0c..83bcc7b 100644 --- a/discover/boot.c +++ b/discover/boot.c @@ -266,11 +266,9 @@ static void run_boot_hooks(struct boot_task *task) /* if the hook returned with BOOT_HOOK_EXIT_UPDATE, * then we process stdout to look for updated params */ - if (rc == BOOT_HOOK_EXIT_UPDATE) { - boot_hook_update(task, hooks[i]->d_name, - process->stdout_buf); - boot_hook_setenv(task); - } + boot_hook_update(task, hooks[i]->d_name, + process->stdout_buf); + boot_hook_setenv(task); } process_release(process); |