Skip to content

Commit

Permalink
bios.rs: pass --nofsroot to findmnt
Browse files Browse the repository at this point in the history
This fixes #748
  • Loading branch information
ruihe774 committed Dec 4, 2024
1 parent f81ae90 commit f959d65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ impl Bios {
// find /boot partition
cmd = Command::new("findmnt");
cmd.arg("--noheadings")
.arg("--nofsroot")
.arg("--output")
.arg("SOURCE")
.arg("/boot");
Expand Down

0 comments on commit f959d65

Please sign in to comment.