Another fix for handling of paths on Windows

A previous fix for the handling of paths on Windows related to paths
containing multiple spaces introduced a issue where if JAVA_HOME ends
with a backslash, then Elasticsearch will refuse to start. This is not a
critical bug as a workaround exists (remove the trailing backslash), but
should be fixed nevertheless. This commit addresses this situation while
not regressing the previous fix.

Relates #22132
This commit is contained in:
Jason Tedor 2016-12-20 21:08:36 -05:00 committed by GitHub
parent 61e1678e66
commit 5e68b632f8
2 changed files with 0 additions and 0 deletions