From 469c43cd331dd4b8ba7d9d032028ed46fa26aa80 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 5 Dec 2024 12:23:28 -0500 Subject: [PATCH] Match fstab preludes more specifically. --- src/action/macos/create_fstab_entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action/macos/create_fstab_entry.rs b/src/action/macos/create_fstab_entry.rs index bfd691beb..1fa5a28d9 100644 --- a/src/action/macos/create_fstab_entry.rs +++ b/src/action/macos/create_fstab_entry.rs @@ -166,7 +166,7 @@ impl Action for CreateFstabEntry { .lines() .filter_map(|line| { // Delete nix-installer entries with a "prelude" comment - if line.starts_with("# nix-installer") { + if line.starts_with("# nix-installer created volume labelled") { None } else { Some(line)