diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-26 20:29:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-26 20:29:11 +0000 |
commit | f23f670939c0acb330ccd3ec7d6695d0f2c00bd0 (patch) | |
tree | b3cc9a16d4b30578005b0f82f0b6e47101578ba4 | |
parent | 4c25611c9dd21be7a81d32568e10159600659df6 (diff) | |
download | portage-f23f670939c0acb330ccd3ec7d6695d0f2c00bd0.tar.gz portage-f23f670939c0acb330ccd3ec7d6695d0f2c00bd0.tar.bz2 portage-f23f670939c0acb330ccd3ec7d6695d0f2c00bd0.zip |
Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die.
svn path=/main/trunk/; revision=12107
-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} |