diff options
author | paulo <paul@bayleaf.org.uk> | 2009-12-18 16:56:54 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2009-12-18 16:56:54 +0000 |
commit | fb6cada4cc787adc08740e4fdd71cd62b67e59db (patch) | |
tree | 827560dd0e50b31dc2ffba6da1dfb293771658d1 /bgpd/bgp_main.c | |
parent | 1a88dd5744496aaf1fe5c2d4a859cae0612fdff3 (diff) | |
download | quagga-fb6cada4cc787adc08740e4fdd71cd62b67e59db.tar.bz2 quagga-fb6cada4cc787adc08740e4fdd71cd62b67e59db.tar.xz |
Can't use stderr after daemonizing, goes to dev/null
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 4b030db5..32219502 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -479,13 +479,6 @@ main (int argc, char **argv) zlog_err("BGPd daemon failed: %s", strerror(errno)); return (1); } -#ifdef QDEBUG - if (daemon_mode) - { - fprintf(stderr, "BGPd daemonised\n"); - zlog_notice("BGPd daemonised"); - } -#endif /* Process ID file creation. */ pid_output (pid_file); @@ -523,7 +516,6 @@ main (int argc, char **argv) qpn_exec(cli_nexus); /* must be last to start - on main thread */ /* terminating, wait for all threads to finish */ - /* TODO need qpt_ version */ thread_result = qpt_thread_join(bgp_nexus->thread_id); bgp_exit(0); } |