diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-06-11 11:16:02 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-06-11 15:31:54 -0400 |
| commit | 41b21bfa600731a4096d1c9372b365acaef4065f (patch) | |
| tree | df14a976094b6ad10a459ed378df882a212ec9a5 /ospfd/ospf_main.c | |
| parent | dbb482bf33123dbcaeecb5f1477681f7dbaf8dc2 (diff) | |
*: have daemons call frr_fini() at termination
Fix a number of library and daemon issues so that daemons can
call frr_fini() during normal termination. Without this,
temporary logging files are left behind in /var/tmp/frr/.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'ospfd/ospf_main.c')
| -rw-r--r-- | ospfd/ospf_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index e534e72a64..45382e48d3 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -98,6 +98,7 @@ static void sigint(void) { zlog_notice("Terminating on signal"); ospf_terminate(); + exit(0); } /* SIGUSR1 handler. */ |
