Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
current shellcheck gives us two warnings:
$ 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 $?.