summaryrefslogtreecommitdiff
path: root/src/cgroups-agent/cgroups-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-25 15:20:59 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-25 17:40:53 +0100
commit844de4355592259eebcffddfc38c63266e451cb6 (patch)
treed2944a38bc11fa4069a333445988dd1e375491db /src/cgroups-agent/cgroups-agent.c
parentd2df0d0ed3a88e491405b403e6022e6619750130 (diff)
cgroups-agent: down-grade log level
Diffstat (limited to 'src/cgroups-agent/cgroups-agent.c')
-rw-r--r--src/cgroups-agent/cgroups-agent.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cgroups-agent/cgroups-agent.c b/src/cgroups-agent/cgroups-agent.c
index d8ae55a31..d1d843bda 100644
--- a/src/cgroups-agent/cgroups-agent.c
+++ b/src/cgroups-agent/cgroups-agent.c
@@ -22,7 +22,6 @@
#include <stdlib.h>
#include "sd-bus.h"
-
#include "log.h"
#include "bus-util.h"
@@ -46,7 +45,10 @@ int main(int argc, char *argv[]) {
r = bus_open_system_systemd(&bus);
if (r < 0) {
- log_warning("Failed to get D-Bus connection: %s", strerror(-r));
+ /* If we couldn't connect we assume this was triggered
+ * while systemd got restarted/transitioned from
+ * initrd to the system, so let's ignore this */
+ log_debug("Failed to get D-Bus connection: %s", strerror(-r));
return EXIT_FAILURE;
}
@@ -56,7 +58,7 @@ int main(int argc, char *argv[]) {
"Released",
"s", argv[1]);
if (r < 0) {
- log_error("Failed to send signal message on private connection: %s", strerror(-r));
+ log_debug("Failed to send signal message on private connection: %s", strerror(-r));
return EXIT_FAILURE;
}