]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- fixed parsing btrfs subvolume list output 980/head
authorArvin Schnell <aschnell@suse.de>
Thu, 16 Jan 2025 09:23:33 +0000 (10:23 +0100)
committerArvin Schnell <aschnell@suse.de>
Thu, 16 Jan 2025 09:23:33 +0000 (10:23 +0100)
client/snbk/CmdBtrfs.cc

index 34f9239adec0879af303bbf99e4708db7f9f7d08..3548d29110fc44d7cf43ad3777c4c61bc546e0b8 100644 (file)
@@ -103,7 +103,7 @@ namespace snapper
            string::size_type pos6 = line.find(" received_uuid ");
            if (pos6 == string::npos)
                SN_THROW(Exception("could not find 'received_uuid' in 'btrfs subvolume list' output"));
-           line.substr(pos6 + strlen(" received_uuid ")) >> entry.parent_uuid;
+           line.substr(pos6 + strlen(" received_uuid ")) >> entry.received_uuid;
            if (entry.received_uuid == "-")
                entry.received_uuid = "";