From f959d656deefdd475027e09a123c2f3cdc807907 Mon Sep 17 00:00:00 2001 From: Misaki Kasumi Date: Thu, 5 Dec 2024 04:25:30 +0800 Subject: [PATCH] bios.rs: pass --nofsroot to findmnt This fixes #748 --- src/bios.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bios.rs b/src/bios.rs index 1604c59a..f8c644e4 100644 --- a/src/bios.rs +++ b/src/bios.rs @@ -37,6 +37,7 @@ impl Bios { // find /boot partition cmd = Command::new("findmnt"); cmd.arg("--noheadings") + .arg("--nofsroot") .arg("--output") .arg("SOURCE") .arg("/boot");