login_prompt: Use _exit in signal handler
Calling exit is not signal safe. Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
This commit is contained in:
parent
8fc8de382a
commit
3010ec11ae
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
static void login_exit (unused int sig)
|
static void login_exit (unused int sig)
|
||||||
{
|
{
|
||||||
exit (EXIT_FAILURE);
|
_exit (EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user