diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-26 20:30:22 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-26 20:30:22 +0000 |
commit | 57649cc562d63e027b570bf1ec518f6a686442ae (patch) | |
tree | 420c307d76ec609c3a0e6122889c4237de908ee1 | |
parent | 8daf295ac665d59e11dba365195ce3aa4256d7a5 (diff) | |
download | portage-57649cc562d63e027b570bf1ec518f6a686442ae.tar.gz portage-57649cc562d63e027b570bf1ec518f6a686442ae.tar.bz2 portage-57649cc562d63e027b570bf1ec518f6a686442ae.zip |
Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die.
(trunk r12107)
svn path=/main/branches/2.1.6/; revision=12108
-rwxr-xr-x | bin/isolated-functions.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 768baf612..77336d914 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -134,8 +134,7 @@ die() { done fi - [ -n "${EBUILD_EXIT_STATUS_FILE}" ] && \ - touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null + [ -n "$EBUILD_EXIT_STATUS_FILE" ] && > "$EBUILD_EXIT_STATUS_FILE" # subshell die support kill -s SIGTERM ${EBUILD_MASTER_PID} |