K 10 svn:author V 3 jhb K 8 svn:date V 27 2021-06-16T20:24:17.993251Z K 7 svn:log V 619 etcupdate: Gracefully handle SIGINT when building trees. Run the 'build_tree' function inside of a subshell and trap SIGINT to return an error to the caller. This allows callers to gracefully cleanup a partially created tree. While here, redirect stdout/stderr of the subshell to the log file instead of applying redirections individually to each command executed while building the tree. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D29844 (cherry picked from commit 1f7afa9364805a912270c9d6a70dc4a889d47a4e) Git Hash: 29ed8efb3b1e834a5c6f4726fa2516a5af3266a9 Git Author: jhb@FreeBSD.org END