aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/tee.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/tee.c')
-rw-r--r--toys/posix/tee.c2
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,