X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcgroups-agent.c;h=1bbc8827d745c2a86d132c8f4904f44ed543f304;hb=b8b5e648cacc8d73c55fdffbb3466ecd8146131a;hp=e0868b6137034f50446f3c5fa0d9370c1841be05;hpb=2b583ce6576d4a074ce6f1570b3e60b65c64ae7d;p=elogind.git diff --git a/src/cgroups-agent.c b/src/cgroups-agent.c index e0868b613..1bbc8827d 100644 --- a/src/cgroups-agent.c +++ b/src/cgroups-agent.c @@ -39,11 +39,10 @@ int main(int argc, char *argv[]) { goto finish; } - log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); + log_set_target(LOG_TARGET_AUTO); log_parse_environment(); log_open(); - /* We send this event to the private D-Bus socket and then the * system instance will forward this to the system bus. We do * this to avoid an activation loop when we start dbus when we @@ -94,7 +93,6 @@ finish: dbus_connection_unref(bus); } - if (m) dbus_message_unref(m);