chore: remove admin log messages for runcmd

They were log spam. Keep the one for a dry run, that's actually useful.
This commit is contained in:
Lars Wirzenius
2026-09-23 11:21:53 +03:00
parent 0d20733c12
commit 6e6930d89b
-2
View File
@@ -771,7 +771,6 @@ pub fn runcmd(
return Ok((0, vec![]));
}
adminlog.writeln(&format!("runcmd: argv={argv:?}"))?;
let output = Command::new("bash")
.arg("-c")
.arg(r#""$@" 2>&1"#)
@@ -782,7 +781,6 @@ pub fn runcmd(
.map_err(|err| AdapterLibError::Command("bash", err))?;
let exit = output.status.code().unwrap_or(NO_EXIT);
adminlog.writeln(&format!("runcmd: exit={exit}"))?;
if exit != 0 {
indented(adminlog, "stdout", &output.stdout);