8318029: Minor improvement to logging output in container at-requires

Reviewed-by: iklam
This commit is contained in:
Mikhailo Seledtsov 2023-10-18 18:05:00 +00:00
parent 278de7acd2
commit ab135683a6

View File

@ -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);