Also return command line execution result in case of error return code (#2104)
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/2180/head
parent
6d03796efb
commit
07c3302a13
|
@ -115,7 +115,7 @@ public class ExecUtil {
|
|||
logger.debug("exit code '{}', result '{}', errors '{}'", exitCode, outputFuture.get(),
|
||||
errorFuture.get());
|
||||
}
|
||||
return null;
|
||||
return errorFuture.get();
|
||||
}
|
||||
} catch (ExecutionException e) {
|
||||
if (logger.isDebugEnabled()) {
|
||||
|
|
Loading…
Reference in New Issue