diff options
author | Rob Landley <rob@landley.net> | 2016-09-05 00:55:24 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-09-05 00:55:24 -0500 |
commit | eed9ed41aa73023af8f79cd5353b96b80585490f (patch) | |
tree | 9b1a36022b0748b06224c48239d0c0e2ebbefddc /toys/posix/tee.c | |
parent | 7f7907f53ecaeabb00929feb0ede85a456683ddc (diff) | |
download | toybox-eed9ed41aa73023af8f79cd5353b96b80585490f.tar.gz |
Replace loopfiles' failok with WARN_ONLY open flag.
Diffstat (limited to 'toys/posix/tee.c')
-rw-r--r-- | toys/posix/tee.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/tee.c b/toys/posix/tee.c index d5591b67..6167c8ad 100644 --- a/toys/posix/tee.c +++ b/toys/posix/tee.c @@ -49,8 +49,8 @@ void tee_main(void) // Open output files loopfiles_rw(toys.optargs, - O_RDWR|O_CREAT|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC), - 0666, 0, do_tee_open); + O_RDWR|O_CREAT|WARN_ONLY|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC), + 0666, do_tee_open); for (;;) { struct fd_list *fdl; |