You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xu...@apache.org on 2010/03/24 02:34:12 UTC

svn commit: r926900 - /geronimo/server/branches/2.2/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/deploy.sh

Author: xuhaihong
Date: Wed Mar 24 01:34:12 2010
New Revision: 926900

URL: http://svn.apache.org/viewvc?rev=926900&view=rev
Log:
GERONIMO-5147 deploy.sh exits with non-zero status because of stty echo (Patch from Kees van Veen)

Modified:
    geronimo/server/branches/2.2/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/deploy.sh

Modified: geronimo/server/branches/2.2/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/deploy.sh
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/deploy.sh?rev=926900&r1=926899&r2=926900&view=diff
==============================================================================
--- geronimo/server/branches/2.2/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/deploy.sh (original)
+++ geronimo/server/branches/2.2/framework/configs/geronimo-boilerplate/src/main/underlay/contents/bin/deploy.sh Wed Mar 24 01:34:12 2010
@@ -186,4 +186,11 @@ fi
   -Djava.io.tmpdir="$GERONIMO_TMPDIR" \
   -jar "$GERONIMO_HOME"/bin/deployer.jar "$@" 
 
-stty echo
+# Remember the exit status
+status=$?
+
+# Reset tty
+stty echo 2>/dev/null
+stty sane 2>/dev/null
+
+exit $status