summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parentBug #205044 - When creating $EBUILD_EXIT_STATUS_FILE, don't direct output to ... (diff)
downloadportage-idfetch-f23f670939c0acb330ccd3ec7d6695d0f2c00bd0.tar.gz
portage-idfetch-f23f670939c0acb330ccd3ec7d6695d0f2c00bd0.tar.bz2
portage-idfetch-f23f670939c0acb330ccd3ec7d6695d0f2c00bd0.zip
Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die.
svn path=/main/trunk/; revision=12107
Diffstat (limited to 'bin')
-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 768baf61..77336d91 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}