From: markt Date: Tue, 18 May 2010 19:22:50 +0000 (+0000) Subject: Only redirect stdout X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=46fe01f6d387d5e223a43d4071c2c641b5a88877;p=tomcat7.0 Only redirect stdout git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@945835 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/bin/catalina.sh b/bin/catalina.sh index b834128b8..6e93e94d2 100755 --- a/bin/catalina.sh +++ b/bin/catalina.sh @@ -105,7 +105,7 @@ done PRGDIR=`dirname "$PRG"` # Only set CATALINA_HOME if not already set -[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null 2>&1 ; pwd` +[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd` # Ensure that any user defined CLASSPATH variables are not used on startup, # but allow them to be specified in setenv.sh, in rare case when it is needed.