X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Finitctl.c;fp=src%2Finitctl.c;h=115452e86b445e4d615a0e9b6b8db239215bba5e;hp=e1ab3f7e49ff74afb7f68276f557fbe6ead517a6;hb=2396fb04f78eaa9842c747e384218f0069446960;hpb=618e02c7b7f8e11fdb954a019342d745937baf55 diff --git a/src/initctl.c b/src/initctl.c index e1ab3f7e4..115452e86 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -349,6 +349,7 @@ int main(int argc, char *argv[]) { log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); log_parse_environment(); + log_open(); if ((n = sd_listen_fds(true)) < 0) { log_error("Failed to read listening file descriptors from environment: %s", strerror(-r));