summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-26 20:29:11 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-26 20:29:11 +0000
commitf23f670939c0acb330ccd3ec7d6695d0f2c00bd0 (patch)
treeb3cc9a16d4b30578005b0f82f0b6e47101578ba4
parent4c25611c9dd21be7a81d32568e10159600659df6 (diff)
downloadportage-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-xbin/isolated-functions.sh3
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}