diff options
author | Rob Landley <rob@landley.net> | 2015-03-10 11:07:28 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-03-10 11:07:28 -0500 |
commit | c776bde13bb2767db2943bc3b02df737a465c035 (patch) | |
tree | 7d8c2283641fa39248a59ecc17897ca2bd547e33 /toys/posix/tee.c | |
parent | 8a3c0edadbf915b9d2f318412587f6107a8e6d42 (diff) | |
download | toybox-c776bde13bb2767db2943bc3b02df737a465c035.tar.gz |
Use xsignal() instead of signal().
Diffstat (limited to 'toys/posix/tee.c')
-rw-r--r-- | toys/posix/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/tee.c b/toys/posix/tee.c index 03885109..909ea58d 100644 --- a/toys/posix/tee.c +++ b/toys/posix/tee.c @@ -45,7 +45,7 @@ static void do_tee_open(int fd, char *name) void tee_main(void) { - if (toys.optflags & FLAG_i) signal(SIGINT, SIG_IGN); + if (toys.optflags & FLAG_i) xsignal(SIGINT, SIG_IGN); // Open output files loopfiles_rw(toys.optargs, |