From 8ef216af628373824bd579fb735d68d0012563b8 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 14 Jan 2018 11:17:41 +0100 Subject: [PATCH] Let hook conditions be oneshot, prevents flux on reload Signed-off-by: Joachim Nilsson --- src/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.c b/src/plugin.c index 3e06bb32..c05cd8a5 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -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)