]> err.no Git - systemd/commitdiff
don't care about syslog when starting up
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2010 18:08:02 +0000 (19:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2010 18:08:02 +0000 (19:08 +0100)
main.c

diff --git a/main.c b/main.c
index df15c559d49c5666187f81f2bf7d438bbd5534b8..99f7d6832fc7996e9176767ef9cf4092bc68f7c6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -10,7 +10,7 @@
 
 int main(int argc, char *argv[]) {
         Manager *m = NULL;
-        Name *target = NULL, *syslog = NULL;
+        Name *target = NULL;
         Job *job = NULL;
         int r, retval = 1;
 
@@ -26,11 +26,6 @@ int main(int argc, char *argv[]) {
                 goto finish;
         }
 
-        if ((r = manager_load_name(m, "syslog.socket", &syslog)) < 0) {
-                log_error("Failed to load syslog socket: %s", strerror(-r));
-                goto finish;
-        }
-
         if ((r = manager_add_job(m, JOB_START, target, JOB_REPLACE, false, &job)) < 0) {
                 log_error("Failed to start default target: %s", strerror(-r));
                 goto finish;