mirror of
https://github.com/troglobit/finit.git
synced 2026-10-12 10:12:32 +00:00
Let hook conditions be oneshot, prevents flux on reload
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user