Improved dump output with command to be copieable by pb command.

This commit is contained in:
Oleksandr Kozachuk
2022-12-18 15:16:37 +01:00
parent bc110f4940
commit dbb00caca1
+2 -1
View File
@@ -317,7 +317,8 @@ impl<'a> LKEval<'a> {
} }
}; };
if output.len() > 0 { if output.len() > 0 {
out.push(format!("Passwords dumped to command {} and got following output: {}", cmd, output)); err.push(format!("Passwords dumped to command {} and got following output:", cmd));
out.push(output);
} else { } else {
out.push(format!("Passwords dumped to command {}", cmd)); out.push(format!("Passwords dumped to command {}", cmd));
} }