vat:ignore SIGWINCH signal 24/18524/4
authorezkexma <maqi.z.ke@ericsson.com>
Tue, 26 Mar 2019 14:24:38 +0000 (10:24 -0400)
committerDamjan Marion <dmarion@me.com>
Thu, 28 Mar 2019 08:21:24 +0000 (08:21 +0000)
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 <maqi.z.ke@ericsson.com>
src/vat/main.c

index a542114..92edec1 100644 (file)
@@ -271,6 +271,7 @@ setup_signal_handlers (void)
          /* ignore SIGPIPE, SIGCHLD */
        case SIGPIPE:
        case SIGCHLD:
+       case SIGWINCH:
          sa.sa_sigaction = (void *) SIG_IGN;
          break;