From 25b4e84fe516be33ad8eaae73ab4911efe053531 Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Wed, 1 Feb 2023 18:37:30 +0000 Subject: [PATCH] validate: Allow Ctrl-C to quit on fault Signed-off-by: Colin Kinloch Part-of: --- .../gst-devtools/validate/gst/validate/gst-validate-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-devtools/validate/gst/validate/gst-validate-utils.c b/subprojects/gst-devtools/validate/gst/validate/gst-validate-utils.c index b6a31733bb..e57706ab29 100644 --- a/subprojects/gst-devtools/validate/gst/validate/gst-validate-utils.c +++ b/subprojects/gst-devtools/validate/gst/validate/gst-validate-utils.c @@ -1104,6 +1104,7 @@ fault_restore (void) memset (&action, 0, sizeof (action)); action.sa_handler = SIG_DFL; + sigaction (SIGINT, &action, NULL); sigaction (SIGSEGV, &action, NULL); sigaction (SIGQUIT, &action, NULL); }