diff options
author | Cliffred van Velzen <cliffred@cliffred.nl> | 2018-09-10 08:45:01 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-09-12 23:42:35 +0200 |
commit | 0c8200b27b60baafd81bbaeeec0eb671891308e5 (patch) | |
tree | 05dd79e7320dded51e001f891ac030f8321c4fa4 /org.eclipse.jgit.lfs.server.test/pom.xml | |
parent | 7b365b2faa1c1568216040b6e3412c6bc1372e54 (diff) | |
download | jgit-0c8200b27b60baafd81bbaeeec0eb671891308e5.tar.gz jgit-0c8200b27b60baafd81bbaeeec0eb671891308e5.zip |
Fix logging null if called process fails
If some process executed by FS#readPipe ends in an error,
the error stream is never set as errorMessage because
FS#GobblerThread#waitForProcessCompletion always returned true.
This caused LOG#warn to be called with null.
Return false whenever FS#GobblerThread#waitForProcessCompletion fails.
Bug: 538723
Change-Id: Ic9492bd688431d52c8665f7a2efec2989e95a4ce
Signed-off-by: Cliffred van Velzen <cliffred@cliffred.nl>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server.test/pom.xml')
0 files changed, 0 insertions, 0 deletions