From: Robert Varga Date: Fri, 11 Apr 2014 16:21:26 +0000 (+0200) Subject: Fix run script always emitting a warning X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~240 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=96ddce5da2ff368132025d2542f5731222dc41bd Fix run script always emitting a warning This fixes a typo which resulted in the "memory not set" warning always being omitted. Change-Id: I7a9479adc6dde9be3d09e10d6e05e22004a876e6 Signed-off-by: Robert Varga --- diff --git a/opendaylight/distribution/opendaylight/src/main/resources/run.sh b/opendaylight/distribution/opendaylight/src/main/resources/run.sh index 92ddbbd605..21245a0259 100755 --- a/opendaylight/distribution/opendaylight/src/main/resources/run.sh +++ b/opendaylight/distribution/opendaylight/src/main/resources/run.sh @@ -116,7 +116,7 @@ if [ "${dohelp}" -eq 1 ]; then usage fi -if [ "${jvmMaxMemory}"=="" ]; then +if [ "${jvmMaxMemory}" == "" ]; then jvmMaxMemory="-Xmx1G" echo "*****************************************************************" echo "JVM maximum memory was not defined. Setting maximum memory to 1G."