validate: Allow Ctrl-C to quit on fault

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3868>
This commit is contained in:
Colin Kinloch 2023-02-01 18:37:30 +00:00
parent 29bd8de052
commit 25b4e84fe5

View file

@ -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);
}