Skip to content

Commit c4bc043

Browse files
authored
Merge pull request #1511 from SamD2021/fix/blockdev-loopback-cleanup-helper
fix(blockdev): include "internals" when spawning loopback-cleanup-helper
2 parents 3e63596 + 2e81362 commit c4bc043

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

crates/blockdev/src/blockdev.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,12 @@ impl LoopbackDevice {
251251

252252
// Create the helper process
253253
let mut cmd = Command::new(bootc_path);
254-
cmd.args(["loopback-cleanup-helper", "--device", device_path]);
254+
cmd.args([
255+
"internals",
256+
"loopback-cleanup-helper",
257+
"--device",
258+
device_path,
259+
]);
255260

256261
// Set environment variable to indicate this is a cleanup helper
257262
cmd.env("BOOTC_LOOPBACK_CLEANUP_HELPER", "1");

0 commit comments

Comments
 (0)