From 96ddce5da2ff368132025d2542f5731222dc41bd Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 11 Apr 2014 18:21:26 +0200 Subject: [PATCH] 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 --- .../distribution/opendaylight/src/main/resources/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- 2.36.6