From 30c2a24e4f144591b37ba581c33f062a332f7472 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Wed, 3 Sep 2025 16:53:41 +0200 Subject: [PATCH] - call grub with --refresh after read-only change --- snapper/PluginsImpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapper/PluginsImpl.cc b/snapper/PluginsImpl.cc index aff46dd9..eeed1d5c 100644 --- a/snapper/PluginsImpl.cc +++ b/snapper/PluginsImpl.cc @@ -220,7 +220,7 @@ namespace snapper break; case Stage::POST_ACTION: - grub(subvolume, filesystem, "--enable", report); + grub(subvolume, filesystem, "--refresh", report); run_scripts({ "set-read-only-post", subvolume, filesystem->fstype(), std::to_string(num) }, report); break; -- 2.47.3