]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added note 900/head
authorArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2024 14:21:24 +0000 (16:21 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2024 14:21:24 +0000 (16:21 +0200)
client/systemd-helper.cc

index 12751c94e891efc5b6c8a3e41e8e0e478fc0629f..8f36e5c1ec9885ef0385d310806028a0a14b6aac 100644 (file)
@@ -183,7 +183,13 @@ cleanup(ProxySnappers* snappers)
 
                SystemCmd cmd({ BTRFS_BIN, "qgroup", "clear-stale", subvolume });
                if (cmd.retcode() != 0)
+               {
+                   // This fails more often than not since qgroups of just deleted
+                   // subvolume are busy. So do not set an error code here. Still log the
+                   // failure to help people understand this stuff.
+
                    cerr << "'btrfs qgroup clear-stale " << subvolume << "' failed." << endl;
+               }
            }
        }
     }