]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
fixed deleting configs (bsc#1210716) 808/head
authorArvin Schnell <aschnell@suse.de>
Fri, 21 Apr 2023 07:50:53 +0000 (09:50 +0200)
committerArvin Schnell <aschnell@suse.de>
Fri, 21 Apr 2023 07:50:53 +0000 (09:50 +0200)
package/snapper.changes
snapper/Snapshot.cc

index f7f608a1068d871d71ae8b3ea07723e301f69016..6df3f447c759bc897b14c7266764d63dc07e492d 100644 (file)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Apr 21 09:47:57 CEST 2023 - aschnell@suse.com
+
+- fixed deleting configs (bsc#1210716)
+
 -------------------------------------------------------------------
 Wed Apr 19 09:19:04 CEST 2023 - aschnell@suse.com
 
index 9c75233ea5bf1b0f1a2cda2cc37d9f8f20970916..d408e1f3c55bd2de1b33cd0d4d28b7f39195791b 100644 (file)
@@ -831,6 +831,9 @@ namespace snapper
        snapshot->deleteFilesystemSnapshot();
        snapshot->deleteFilelists();
 
+       SDir info_dir = snapshot->openInfoDir();
+       info_dir.unlink("info.xml", 0);
+
        SDir infos_dir = snapper->openInfosDir();
        infos_dir.unlink(decString(snapshot->getNum()), AT_REMOVEDIR);