You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2017/09/18 04:55:00 UTC

[jira] [Created] (HBASE-18834) fix shellcheck warning on hbase personality

Sean Busbey created HBASE-18834:
-----------------------------------

             Summary: fix shellcheck warning on hbase personality
                 Key: HBASE-18834
                 URL: https://issues.apache.org/jira/browse/HBASE-18834
             Project: HBase
          Issue Type: Bug
          Components: test
            Reporter: Sean Busbey
            Assignee: Sean Busbey
            Priority: Minor


current shellcheck gives us two warnings:

{code}
$ shellcheck dev-support/hbase-personality.sh 

In dev-support/hbase-personality.sh line 123:
        if [[ $? -eq 0 ]]; then
              ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In dev-support/hbase-personality.sh line 136:
        if [[ $? -eq 0 ]]; then
              ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.

{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)