Don't direct to /dev/null when creating $EBUILD_EXIT_STATUS_FILE inside die.
authorZac Medico <zmedico@gentoo.org>
Wed, 26 Nov 2008 20:29:11 +0000 (20:29 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 26 Nov 2008 20:29:11 +0000 (20:29 -0000)
svn path=/main/trunk/; revision=12107

bin/isolated-functions.sh

index 768baf612685c99a41bac4d1702c127716cd67a8..77336d914b3d4f41ef2bb42d07cc8880c8dbfd20 100755 (executable)
@@ -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}