]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- call grub with --refresh after read-only change 1049/head
authorArvin Schnell <aschnell@suse.de>
Wed, 3 Sep 2025 14:53:41 +0000 (16:53 +0200)
committerArvin Schnell <aschnell@suse.de>
Wed, 3 Sep 2025 14:53:41 +0000 (16:53 +0200)
snapper/PluginsImpl.cc

index aff46dd9b59882538523c9696eed07a384ed589d..eeed1d5c0899b1daa20516eddf6fd48a177acd3e 100644 (file)
@@ -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;