optimize logging
This commit is contained in:
parent
02e4e1adbc
commit
9c7202f358
@ -24,7 +24,7 @@ public class CommandShell {
|
||||
int exitCode = 0;
|
||||
try {
|
||||
String logCommand = command;
|
||||
if (stdInput != null && !"newusers".equals(logCommand)) {
|
||||
if (stdInput != null) {
|
||||
if (logCommand != null && (logCommand.startsWith("newusers") || logCommand.startsWith("chpasswd"))) {
|
||||
// escape new password !
|
||||
final String[] strings = stdInput.split("\\:", 3);
|
||||
|
Loading…
Reference in New Issue
Block a user