chiark / gitweb /
log: pass SCM_CREDENTIALS when logging to syslog
[elogind.git] / src / cgroups-agent.c
index a1eac1459ecfa9da03d2133f7e353e92f651d7c0..92b56c5fbd7f080c37f33a6abf033002ca870f95 100644 (file)
@@ -1,4 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
 /***
   This file is part of systemd.
@@ -39,6 +39,7 @@ int main(int argc, char *argv[]) {
 
         log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
         log_parse_environment();
+        log_open();
 
         /* If possible we go via the system bus, to make sure that
          * session instances get the messages. If not possible we talk