summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2009-12-18 16:56:54 +0000
committerpaulo <paul@bayleaf.org.uk>2009-12-18 16:56:54 +0000
commitfb6cada4cc787adc08740e4fdd71cd62b67e59db (patch)
tree827560dd0e50b31dc2ffba6da1dfb293771658d1
parent1a88dd5744496aaf1fe5c2d4a859cae0612fdff3 (diff)
downloadquagga-fb6cada4cc787adc08740e4fdd71cd62b67e59db.tar.bz2
quagga-fb6cada4cc787adc08740e4fdd71cd62b67e59db.tar.xz
Can't use stderr after daemonizing, goes to dev/null
-rw-r--r--bgpd/bgp_main.c8
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);
}