Skip to content

Commit

Permalink
Merge pull request #845 from cgwalters/drop-debug-ls
Browse files Browse the repository at this point in the history
rpm_cmd: Also drop debugging `ls`
  • Loading branch information
cgwalters authored Feb 11, 2025
2 parents 18369ba + 0eba368 commit 3ee0a9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ostreeutil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ use std::path::Path;
use anyhow::Result;
use log::debug;

use crate::util::CommandRunExt;

/// https://github.com/coreos/rpm-ostree/pull/969/commits/dc0e8db5bd92e1f478a0763d1a02b48e57022b59
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
pub(crate) const BOOT_PREFIX: &str = "usr/lib/ostree-boot";
Expand Down Expand Up @@ -47,10 +45,6 @@ pub(crate) fn rpm_cmd<P: AsRef<Path>>(sysroot: P) -> Result<std::process::Comman
if !is_nonempty_dir(&dbpath)? {
continue;
}
std::process::Command::new("ls")
.arg("-al")
.arg(&dbpath)
.run()?;
let mut s = std::ffi::OsString::new();
s.push("--dbpath=");
s.push(dbpath.as_os_str());
Expand Down

0 comments on commit 3ee0a9f

Please sign in to comment.