From: ezkexma Date: Tue, 26 Mar 2019 14:24:38 +0000 (-0400) Subject: vat:ignore SIGWINCH signal X-Git-Tag: v19.04-rc1~113 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=7d3161adb56833e84c07eec4284b840255b5e3de;p=vpp.git vat:ignore SIGWINCH signal vpp/src/vat/main.c When change the window size,the vat will get the SIGWINCH signal and then exit. It is not a exit action,so we can ignore it. Change-Id: If796762216910e23cace09406d413331f505d990 Signed-off-by: ezkexma --- diff --git a/src/vat/main.c b/src/vat/main.c index a5421140fb3..92edec117b2 100644 --- a/src/vat/main.c +++ b/src/vat/main.c @@ -271,6 +271,7 @@ setup_signal_handlers (void) /* ignore SIGPIPE, SIGCHLD */ case SIGPIPE: case SIGCHLD: + case SIGWINCH: sa.sa_sigaction = (void *) SIG_IGN; break;