On Tue, 3 May 2022 14:06:32 GMT Emmanuel Vadot <[email protected]> wrote:
> The branch main has been updated by manu: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=1f7746d81f53447ac15cc99395bb714d4dd0a4da > > commit 1f7746d81f53447ac15cc99395bb714d4dd0a4da > Author: Corvin Köhne <[email protected]> > AuthorDate: 2022-05-03 14:00:09 +0000 > Commit: Emmanuel Vadot <[email protected]> > CommitDate: 2022-05-03 14:02:27 +0000 > > 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 Fixes 40923b0c81 "Fix scripted installation from media without local distfiles." -- Emmanuel Vadot <[email protected]> <[email protected]>
