17 lines
749 B
Diff
17 lines
749 B
Diff
diff --git a/src/main.rs b/src/main.rs
|
|
index 8baf5924a7db..1234567890ab 100644
|
|
--- a/src/main.rs
|
|
+++ b/src/main.rs
|
|
@@ -1295,6 +1295,12 @@ won't take effect until you reboot the system.
|
|
|
|
for (mountpoint, current_filesystem) in current_filesystems {
|
|
// Use current version of systemctl binary before daemon is reexeced.
|
|
+
|
|
+ // Skip filesystem comparison if x-initrd.mount is present in options
|
|
+ if current_filesystem.options.contains("x-initrd.mount") {
|
|
+ continue;
|
|
+ }
|
|
+
|
|
let unit = path_to_unit_name(¤t_system_bin, &mountpoint);
|
|
if let Some(new_filesystem) = new_filesystems.get(&mountpoint) {
|
|
if current_filesystem.fs_type != new_filesystem.fs_type
|