nsjail: use CTRL+\ (SIGQUIT) to display active sessions
This commit is contained in:
parent
2687f33a07
commit
4c5aebf23b
2
nsjail.c
2
nsjail.c
@ -47,7 +47,7 @@ static void nsjailSig(int sig)
|
|||||||
if (sig == SIGCHLD) {
|
if (sig == SIGCHLD) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (sig == SIGUSR1) {
|
if (sig == SIGUSR1 || sig == SIGQUIT) {
|
||||||
nsjailShowProc = true;
|
nsjailShowProc = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user