Skip to content

Commit 7dc5b2b

Browse files
YLChen-007Copilot
andauthored
Update utils/src/main/java/com/cloud/utils/script/Script.java
Co-authored-by: Copilot <[email protected]>
1 parent f9a05f5 commit 7dc5b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/src/main/java/com/cloud/utils/script/Script.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ static String stackTraceAsString(Throwable throwable) {
246246
public String execute(OutputInterpreter interpreter) {
247247
String[] command = _command.toArray(new String[_command.size()]);
248248
String commandLine = buildCommandLine(command);
249-
if (_logger.isDebugEnabled() && !avoidLoggingCommand && sensitiveArgIndices.isEmpty()) {
249+
if (_logger.isDebugEnabled() && !avoidLoggingCommand) {
250250
_logger.debug(String.format("Executing command [%s].", commandLine.split(KeyStoreUtils.KS_FILENAME)[0]));
251251
}
252252

0 commit comments

Comments
 (0)