mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:30:52 +00:00
bgpd: cleanup privs on termination
When doing valgrind testing, the privledges from zprivs_init() need to be cleaned up on exit.
This commit is contained in:
parent
46901400a3
commit
04d5e24d74
@ -197,6 +197,7 @@ sigint (void)
|
||||
if (! retain_mode)
|
||||
bgp_terminate ();
|
||||
|
||||
zprivs_terminate (&bgpd_privs);
|
||||
bgp_exit (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user