pan3793 commented on code in PR #4078:
URL: https://github.com/apache/kyuubi/pull/4078#discussion_r1061203379
##########
bin/kyuubi:
##########
@@ -48,6 +49,7 @@ function kyuubi_rotate_log() {
num=${KYUUBI_MAX_LOG_FILES}
else
echo "Error: KYUUBI_MAX_LOG_FILES must be a positive number, but got
${KYUUBI_MAX_LOG_FILES}"
+ # shellcheck disable=SC2242
exit -1
Review Comment:
this can be fixed in place, we just need to return a no-zero value here, 1
should be good.
--
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]