diff options
author | Raúl Gutiérrez Segalés <rgs@apache.org> | 2015-12-10 05:28:07 +0000 |
---|---|---|
committer | Raúl Gutiérrez Segalés <rgs@apache.org> | 2015-12-10 05:28:07 +0000 |
commit | 354bfdb22d90c14a81fe8f8d092ace80c79cd794 (patch) | |
tree | 79e3624e4cf1eb9ead79a71e8f8ed724db28f4d5 /bin/zkServer.sh | |
parent | 54480f6ab72cafb68231695a1f41064e24ebf65d (diff) | |
download | zookeeper-354bfdb22d90c14a81fe8f8d092ace80c79cd794.tar.gz |
ZOOKEEPER-2340: JMX is disabled even if JMXDISABLE is false
(Arshad Mohammad via rgs)
git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1719011 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin/zkServer.sh')
-rwxr-xr-x | bin/zkServer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/zkServer.sh b/bin/zkServer.sh index 4081305c9..07df2f0b6 100755 --- a/bin/zkServer.sh +++ b/bin/zkServer.sh @@ -42,7 +42,7 @@ then JMXLOCALONLY=false fi -if [ "x$JMXDISABLE" = "x" ] +if [ "x$JMXDISABLE" = "x" ] || [ "$JMXDISABLE" = 'false' ] then echo "ZooKeeper JMX enabled by default" >&2 if [ "x$JMXPORT" = "x" ] |