8343085: [macos] jpackage verbose output on macOS contains numerous "Running /usr/bin/codesign" entries

Reviewed-by: asemenyuk
This commit is contained in:
Alexander Matveev 2024-10-31 22:17:35 +00:00
parent d4eb2d924e
commit 5a5d9c51be

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -112,7 +112,10 @@ public final class Executor {
pb.redirectOutput(ProcessBuilder.Redirect.DISCARD);
}
Log.verbose(String.format("Running %s", createLogMessage(pb, true)));
if (!quietCommand) {
Log.verbose(String.format("Running %s", createLogMessage(pb, true)));
}
Process p = pb.start();
int code = 0;