From 1707eb6606a77844818efc893cc229ab99af04a4 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Thu, 16 Jan 2025 10:23:33 +0100 Subject: [PATCH] - fixed parsing btrfs subvolume list output --- client/snbk/CmdBtrfs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; -- 2.47.3