vlib: exit 0 (nocore) on SIGHUP 62/28662/2
authorChristian Hopps <chopps@labn.net>
Fri, 24 Apr 2020 08:39:59 +0000 (04:39 -0400)
committerDamjan Marion <dmarion@me.com>
Thu, 3 Sep 2020 22:50:13 +0000 (22:50 +0000)
commit1da08197eb4e3eba9e795ee14bcac8417506378b
tree45d5a1ed09e0f9f07dbda9140461e8ebe7e9c4ee
parent0c936b147f4fc52bdb685f701bc7d93959a1a6a2
vlib: exit 0 (nocore) on SIGHUP

Scenarios where SIGHUP is sent would include the user closing an xterm
while in interactive/nodaemon mode, or similarly when running vpp in the
same mode during testing (e.g., using ssh to run VPP on a DUT). VPP
should exit in these cases; however, generating a core is unwanted.

Type: fix
Signed-off-by: Christian Hopps <chopps@labn.net>
Change-Id: Ibccfe5e676547e913c8a205ff16ab56d9abb1c82
src/vlib/unix/main.c