okumin commented on PR #5830:
URL: https://github.com/apache/hive/pull/5830#issuecomment-2922164030
Shellcheck does not report issues about the changed part.
```sh
% docker run --rm -v "$PWD:/mnt" koalaman/shellcheck-alpine:v0.10.0 sh -c
"shellcheck -x /mnt/packaging/src/docker/entrypoint.sh"
In /mnt/packaging/src/docker/entrypoint.sh line 37:
if [ $? -eq 0 ]; then
^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;',
not indirectly with $?.
For more information:
https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with
e.g...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]