summaryrefslogtreecommitdiffstats
path: root/src/udev
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-07-13 14:05:06 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-07-23 07:08:40 +0200
commitd7bddfa1097846cc55da14076c3411519a96933f (patch)
treeeb8b394c81ea8b662012da281a3d1b540c131b2c /src/udev
parentudev: use event_reset_time_relative() (diff)
downloadsystemd-d7bddfa1097846cc55da14076c3411519a96933f.tar.xz
systemd-d7bddfa1097846cc55da14076c3411519a96933f.zip
udev: delay to start queued events on `udevadm control --start-exec-queue`
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index b547712e47..d154cf4b73 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -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)");