From f23f670939c0acb330ccd3ec7d6695d0f2c00bd0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 26 Nov 2008 20:29:11 +0000 Subject: Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die. svn path=/main/trunk/; revision=12107 --- bin/isolated-functions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') 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