From c776bde13bb2767db2943bc3b02df737a465c035 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 10 Mar 2015 11:07:28 -0500 Subject: Use xsignal() instead of signal(). --- toys/other/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/login.c') diff --git a/toys/other/login.c b/toys/other/login.c index 0d6d3640..837dd977 100644 --- a/toys/other/login.c +++ b/toys/other/login.c @@ -156,7 +156,7 @@ void login_main(void) if (!isatty(0) || !isatty(1) || !isatty(2)) error_exit("no tty"); openlog("login", LOG_PID | LOG_CONS, LOG_AUTH); - signal(SIGALRM, login_timeout_handler); + xsignal(SIGALRM, login_timeout_handler); alarm(TT.login_timeout = 60); for (ss = forbid; *ss; ss++) unsetenv(*ss); -- cgit v1.2.3