zkServer.sh does not correctly check for $SERVER_JVMFLAGS
---------------------------------------------------------

                 Key: ZOOKEEPER-1376
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1376
             Project: ZooKeeper
          Issue Type: Bug
          Components: scripts
    Affects Versions: 3.3.3
            Reporter: Patrick Hunt
            Priority: Minor


It will always include it even if not defined, although not much harm.

if [ "x$SERVER_JVMFLAGS" ]
then
JVMFLAGS="$SERVER_JVMFLAGS $JVMFLAGS"
fi

should use the std idiom.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to