summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDenis Ovsienko <linux@pilot.org.ua>2007-09-14 14:56:28 +0000
committerDenis Ovsienko <linux@pilot.org.ua>2007-09-14 14:56:28 +0000
commit96934e6ac6ec9ff6e67131cc8324741b771d5e0d (patch)
tree7cb90f6a03e1b33e2e0045cc50185b16dfe00df8 /zebra/main.c
parent91b7351d4e150bbc60786f0facb911fa2c598553 (diff)
+ 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);