From 57649cc562d63e027b570bf1ec518f6a686442ae Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 26 Nov 2008 20:30:22 +0000 Subject: 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 --- bin/isolated-functions.sh | 3 +-- 1 file changed, 1 insertion(+), 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} -- cgit v1.2.3-1-g7c22