summaryrefslogtreecommitdiffstats
path: root/zebra/main.c
diff options
context:
space:
mode:
authorpilot <pilot>2007-09-14 14:56:28 +0000
committerpilot <pilot>2007-09-14 14:56:28 +0000
commitd3c31e99d04a740b1ec3077f48c5abb075634e6b (patch)
tree883ab65327e19189540b58c3a085d4ae53e264f0 /zebra/main.c
parentc3273834bc2fc09d74212a0a5723cf1808b58204 (diff)
downloadquagga-d3c31e99d04a740b1ec3077f48c5abb075634e6b.tar.bz2
quagga-d3c31e99d04a740b1ec3077f48c5abb075634e6b.tar.xz
+ sayonara old_pid!
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 2f966523..6019260f 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -47,7 +47,6 @@ struct zebra_t zebrad =
};
/* process id. */
-pid_t old_pid;
pid_t pid;
/* Pacify zclient.o in libzebra, which expects this variable. */
@@ -366,9 +365,6 @@ main (int argc, char **argv)
if (batch_mode)
exit (0);
- /* Needed for BSD routing socket. */
- old_pid = getpid ();
-
/* Daemonize. */
if (daemon_mode)
daemon (0, 0);