aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/nohup.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-10 11:07:28 -0500
committerRob Landley <rob@landley.net>2015-03-10 11:07:28 -0500
commitc776bde13bb2767db2943bc3b02df737a465c035 (patch)
tree7d8c2283641fa39248a59ecc17897ca2bd547e33 /toys/posix/nohup.c
parent8a3c0edadbf915b9d2f318412587f6107a8e6d42 (diff)
downloadtoybox-c776bde13bb2767db2943bc3b02df737a465c035.tar.gz
Use xsignal() instead of signal().
Diffstat (limited to 'toys/posix/nohup.c')
-rw-r--r--toys/posix/nohup.c2
1 files changed, 1 insertions, 1 deletions
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,