janhoy commented on code in PR #1287:
URL: https://github.com/apache/solr/pull/1287#discussion_r1069521742
##########
solr/bin/solr:
##########
@@ -716,7 +716,11 @@ function solr_pid_by_port() {
# extract the value of the -Djetty.port parameter from a running Solr process
function jetty_port() {
SOLR_PID="$1"
- SOLR_PROC=$(ps -o command='' -p "$SOLR_PID" | grep start\.jar | grep
jetty\.port)
+ if [ "OS400" == "$THIS_OS" ]; then
+ SOLR_PROC=`ps -f -p "$SOLR_PID" | grep start\.jar | grep jetty\.port`
Review Comment:
Please stick to the `$(foo)` syntax
--
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]