Skip to content

Commit 0f688f3

Browse files
jeckersbcgwalters
authored andcommitted
reinstall: Correctly check for lvs binary in parse_volumes
Signed-off-by: John Eckersberg <[email protected]>
1 parent 82ff677 commit 0f688f3

File tree

1 file changed

+1
-1
lines changed
  • crates/system-reinstall-bootc/src

1 file changed

+1
-1
lines changed

crates/system-reinstall-bootc/src/lvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub(crate) struct LogicalVolume {
2626

2727
#[context("parse_volumes")]
2828
pub(crate) fn parse_volumes(group: Option<&str>) -> Result<Vec<LogicalVolume>> {
29-
if which::which("podman").is_err() {
29+
if which::which("lvs").is_err() {
3030
tracing::debug!("lvs binary not found. Skipping logical volume check.");
3131
return Ok(Vec::<LogicalVolume>::new());
3232
}

0 commit comments

Comments
 (0)