mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Also return command line execution result in case of error return code (#2104)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user