From 7b0a12675106f7667254b67f3f759249cd47ea2c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 3 May 2023 14:12:43 +0200 Subject: [PATCH] manager: add debug logging about BARRIER=1 messages --- src/core/manager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index 2a7e80ca677..36881de4790 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2672,8 +2672,10 @@ static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t } /* Possibly a barrier fd, let's see. */ - if (manager_process_barrier_fd(tags, fds)) + if (manager_process_barrier_fd(tags, fds)) { + log_debug("Received barrier notification message from PID " PID_FMT ".", ucred->pid); return 0; + } /* Increase the generation counter used for filtering out duplicate unit invocations. */ m->notifygen++; -- 2.47.3