8318029: Minor improvement to logging output in container at-requires
Reviewed-by: iklam
This commit is contained in:
parent
278de7acd2
commit
ab135683a6
@ -610,7 +610,7 @@ public class VMProps implements Callable<Map<String, String>> {
|
|||||||
log("checkDockerSupport(): entering");
|
log("checkDockerSupport(): entering");
|
||||||
ProcessBuilder pb = new ProcessBuilder("which", Container.ENGINE_COMMAND);
|
ProcessBuilder pb = new ProcessBuilder("which", Container.ENGINE_COMMAND);
|
||||||
Map<String, String> logFileNames =
|
Map<String, String> logFileNames =
|
||||||
redirectOutputToLogFile("checkDockerSupport(): which <container-engine>",
|
redirectOutputToLogFile("checkDockerSupport(): which " + Container.ENGINE_COMMAND,
|
||||||
pb, "which-container");
|
pb, "which-container");
|
||||||
Process p = pb.start();
|
Process p = pb.start();
|
||||||
p.waitFor(10, TimeUnit.SECONDS);
|
p.waitFor(10, TimeUnit.SECONDS);
|
||||||
|
Loading…
Reference in New Issue
Block a user