summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--coldplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coldplug.c b/coldplug.c
index d5997f8..b8c0eaf 100644
--- a/coldplug.c
+++ b/coldplug.c
@@ -34,6 +34,7 @@ static void coldplug_complete(struct uloop_timeout *t)
static void udevtrigger_complete(struct uloop_process *proc, int ret)
{
DEBUG(2, "Finished udevtrigger\n");
+ hotplug_last_event(coldplug_complete);
}
void procd_coldplug(void)
@@ -59,7 +60,6 @@ void procd_coldplug(void)
return;
}
- hotplug_last_event(coldplug_complete);
uloop_process_add(&udevtrigger);
DEBUG(2, "Launched coldplug instance, pid=%d\n", (int) udevtrigger.pid);