udev: delay to start queued events on udevadm control --start-exec-queue

This commit is contained in:
Yu Watanabe
2022-07-13 21:05:06 +09:00
parent 8e543eb86a
commit d7bddfa109

View File

@@ -1248,7 +1248,7 @@ static int on_ctrl_msg(UdevCtrl *uctrl, UdevCtrlMessageType type, const UdevCtrl
case UDEV_CTRL_START_EXEC_QUEUE:
log_debug("Received udev control message (START_EXEC_QUEUE)");
manager->stop_exec_queue = false;
event_queue_start(manager);
/* It is not necessary to call event_queue_start() here, as it will be called in on_post() if necessary. */
break;
case UDEV_CTRL_RELOAD:
log_debug("Received udev control message (RELOAD)");