andywebb1975 commented on PR #1502: URL: https://github.com/apache/solr/pull/1502#issuecomment-1489819681
Removing the `head -1` means multiple lines will pass through - so if `java -version` changed to something along these lines we'd get a multi-line value back: ``` openjdk version "1.8.0_362" OpenJDK Runtime Environment (build 1.8.0_362-b09) OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode) SomeOS version "1.42.5" ``` Keeping the `head -1` (after the `grep`) would protect against this - so I think that's worth putting back in. -- 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]
