diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl
index 9f681ca..8127e37 100644
--- a/LFS/lfs.xsl
+++ b/LFS/lfs.xsl
@@ -339,6 +339,11 @@ exit
select="substring-before(string(),'2>&1')"/>
>> $TEST_LOG 2>&1 || true
+
+ (
+
+ >> $TEST_LOG 2>&1 && exit $PIPESTATUS)
+
>> $TEST_LOG 2>&1 || true