Drop tee log to preserve return value


git-svn-id: https://svn.apache.org/repos/asf/geronimo/genesis/trunk@481626 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build-harness/bin/groovy.shlib b/build-harness/bin/groovy.shlib
index fd0d76d..e0def93 100644
--- a/build-harness/bin/groovy.shlib
+++ b/build-harness/bin/groovy.shlib
@@ -39,6 +39,12 @@
 
 groovy() {
     cd "$BINDIR"
-    exec "$GROOVY" "$PROGNAME.groovy" $* | 2>&1 tee "$BASEDIR/$PROGNAME.log"
+    exec "$GROOVY" "$PROGNAME.groovy" $*
+    
+    ##
+    ## NOTE: Can't capture logs like this, as we need to preserve the return value
+    ##
+    
+    # | 2>&1 tee "$BASEDIR/$PROGNAME.log"
 }