diff --git a/src/rospack.cpp b/src/rospack.cpp index 142e143..47a7640 100644 --- a/src/rospack.cpp +++ b/src/rospack.cpp @@ -350,7 +350,7 @@ Rosstackage::crawl(std::vector search_path, if(crawled_) { bool same_paths = true; - if(search_paths_.size() == search_path.size()) + if(search_paths_.size() != search_path.size()) same_paths = false; else {