From: Arvin Schnell Date: Thu, 16 Jan 2025 09:23:33 +0000 (+0100) Subject: - fixed parsing btrfs subvolume list output X-Git-Tag: v0.12.2~28^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F980%2Fhead;p=thirdparty%2Fsnapper.git - fixed parsing btrfs subvolume list output --- diff --git a/client/snbk/CmdBtrfs.cc b/client/snbk/CmdBtrfs.cc index 34f9239a..3548d291 100644 --- a/client/snbk/CmdBtrfs.cc +++ b/client/snbk/CmdBtrfs.cc @@ -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 = "";