From: Zac Medico Date: Wed, 26 Nov 2008 20:29:11 +0000 (-0000) Subject: Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die. X-Git-Tag: v2.2_rc17~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f23f670939c0acb330ccd3ec7d6695d0f2c00bd0;p=portage.git Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die. svn path=/main/trunk/; revision=12107 --- 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}