detachLicense: Tee output to file for later analysis

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: If5b41890c13637d869324b594c7efb1149d1c22a
diff --git a/eclair-linaro/bin/detachLicense b/eclair-linaro/bin/detachLicense
index 900c0f7..fcd9f01 100755
--- a/eclair-linaro/bin/detachLicense
+++ b/eclair-linaro/bin/detachLicense
@@ -9,7 +9,7 @@
 
 seconds=$1
 
-sudo su "${ECLAIR_LICENSE_USER}" -c "\"${ECLAIR_TOP_DIR}/bin/eclair_licman\" -d 38199 -t \"${seconds}\" -s u"
+sudo su "${ECLAIR_LICENSE_USER}" -c "\"${ECLAIR_TOP_DIR}/bin/eclair_licman\" -d 38199 -t \"${seconds}\" -s u" 2>&1 | tee /tmp/eclair_licman.out
 rc=$?
 echo rc: $rc
 exit $rc