mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user