opnsense-src/usr.bin/tee
Kyle Evans 99509fcc87 tee: minor cleanup
Pull the open flags out of the loop into a local var.  They won't be
changing, so this is marginally more readable.

Adds some extra brackets around the loop in preparation for a future
change that may try to fallback to opening the path as a socket if we
get an EOPNOTSUPP.

No functional change.

Reviewed by:	asomers, des, emaste, ngie

(cherry picked from commit 414c2b8d1e5abe7186c1aa4dc3ab28147ce46f47)
2025-04-25 22:19:48 -05:00
..
tests tee: add some basic tests 2025-04-25 22:19:48 -05:00
Makefile tee: add some basic tests 2025-04-25 22:19:48 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tee.1 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
tee.c tee: minor cleanup 2025-04-25 22:19:48 -05:00