projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc55a5
)
bus-util: add log message when exiting because of idle
author
Lennart Poettering
<lennart@poettering.net>
Wed, 8 May 2024 08:39:29 +0000
(10:39 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 12 Jun 2024 10:53:54 +0000
(12:53 +0200)
src/shared/bus-util.c
patch
|
blob
|
history
diff --git
a/src/shared/bus-util.c
b/src/shared/bus-util.c
index 544494b3f80e1f4f06a8d13ebbf0095ede996303..e3182e124f418317abab908164e32cf0a8f356a6 100644
(file)
--- a/
src/shared/bus-util.c
+++ b/
src/shared/bus-util.c
@@
-148,6
+148,8
@@
int bus_event_loop_with_idle(
return r;
if (r == 0 && !exiting && idle) {
+ log_debug("Idle for %s, exiting.", FORMAT_TIMESPAN(timeout, 1));
+
/* Inform the service manager that we are going down, so that it will queue all
* further start requests, instead of assuming we are still running. */
(void) sd_notify(false, NOTIFY_STOPPING);