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/posix/nohup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/nohup.c') diff --git a/toys/posix/nohup.c b/toys/posix/nohup.c index 658ab939..4d6d59f6 100644 --- a/toys/posix/nohup.c +++ b/toys/posix/nohup.c @@ -21,7 +21,7 @@ config NOHUP void nohup_main(void) { - signal(SIGHUP, SIG_IGN); + xsignal(SIGHUP, SIG_IGN); if (isatty(1)) { close(1); if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY, -- cgit v1.2.3