diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-26 19:08:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-26 19:08:02 +0100 |
commit | c8d9aef34f1e2867225ad9230fcdb52e8179de92 (patch) | |
tree | a853e08c281de3839e0e17d6a11d67329ea5bdde | |
parent | c22cbe2672db2c95647c9412cfb4331d2be279a7 (diff) |
don't care about syslog when starting up
-rw-r--r-- | main.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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; |