From 852f0d3491e0ecfa5825edc735d1593fea930ef2 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 3 Dec 2019 14:41:59 +0100 Subject: [PATCH] Fix restore crash bug --- urbackupclient/RestoreFiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urbackupclient/RestoreFiles.cpp b/urbackupclient/RestoreFiles.cpp index 2f4f53cb..0b3856ef 100644 --- a/urbackupclient/RestoreFiles.cpp +++ b/urbackupclient/RestoreFiles.cpp @@ -642,7 +642,7 @@ bool RestoreFiles::openFiles(std::map& open_files, bool& } str_map::iterator it_tids = extra.find("tids"); - if (it_tids != extra.begin()) + if (it_tids != extra.end()) { std::vector toks; Tokenize(it_tids->second, toks, ",");