Imported Upstream version 15.0.0
[platform/upstream/libzypp.git] / zypp / Fetcher.cc
index ef8e95b..03924d6 100644 (file)
@@ -801,7 +801,7 @@ namespace zypp
       // if the file was not transferred, and no exception, just
       // return, as it was an optional file
       if ( ! PathInfo(dest_dir + (*it_res)->location.filename()).isExist() )
-          continue;
+          return;
 
       // if the checksum is empty, but the checksum is in one of the
       // indexes checksum, then add a checker