nsjail: use CTRL+\ (SIGQUIT) to display active sessions

This commit is contained in:
Robert Swiecki 2017-10-19 15:25:20 +02:00
parent 2687f33a07
commit 4c5aebf23b
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ static void nsjailSig(int sig)
if (sig == SIGCHLD) {
return;
}
if (sig == SIGUSR1) {
if (sig == SIGUSR1 || sig == SIGQUIT) {
nsjailShowProc = true;
return;
}

View File

@ -33,6 +33,7 @@
static const int nssigs[] = {
SIGINT,
SIGQUIT,
SIGUSR1,
SIGALRM,
SIGCHLD,