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, ",");