freebsd-dev/usr.sbin/bsdinstall
Corvin Köhne 1f7746d81f bsdinstall: stop messing with file descriptors
Throughout the bsdinstall script fd 3 is used by f_dprintf (set through
$TERMINAL_STDOUT_PASSTHRU). By closing file descriptor 3 here, the
final f_dprintf "Installation Completed ... does not work anymore.

By putting the code into a subshell, file descriptors can be edited
without interference with the calling script.

Reviewed by:		emaste
Differential Revision:	https://reviews.freebsd.org/D35113
Sponsored by:		Beckhoff Automation GmbH & Co. KG
MFC after:		3 days
2022-05-03 16:02:27 +02:00
..
distextract disextract: eliminate last use of __DECONST 2022-01-28 10:09:08 +01:00
distfetch bsdinstall/distfetch: Remove duplicate header 2022-03-29 16:19:57 +02:00
partedit bsdinstall/partedit: Fix UFS auto partitioning 2022-04-30 01:24:23 +02:00
scripts bsdinstall: stop messing with file descriptors 2022-05-03 16:02:27 +02:00
bsdinstall bsdinstall: Use TMPDIR if set 2020-01-15 00:45:05 +00:00
bsdinstall.8 bsdinstall(8): Usage example of tar doesn't work 2022-03-23 21:59:53 +01:00
Makefile
Makefile.depend
Makefile.inc