Let hook conditions be oneshot, prevents flux on reload

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2018-01-14 11:24:29 +01:00
parent a9b9631098
commit 8ef216af62
+1 -1
View File
@@ -210,7 +210,7 @@ void plugin_run_hook(hook_point_t no, void *arg)
if (HOOK_SVC_START == no)
last = no;
cond_set(hook_cond[no]);
cond_set_oneshot(hook_cond[no]);
service_step_all(SVC_TYPE_RUNTASK);
if (HOOK_SVC_START == no)