diff --git a/repos/gems/src/app/depot_download_manager/import.h b/repos/gems/src/app/depot_download_manager/import.h index fa56b36d26..50b78dedd1 100644 --- a/repos/gems/src/app/depot_download_manager/import.h +++ b/repos/gems/src/app/depot_download_manager/import.h @@ -44,6 +44,10 @@ class Depot_download_manager::Import bool complete() const { + /* fetchurl did not return valid download info */ + if (total == "") + return false; + /* fetchurl has not yet determined the file size */ if (total == "0.0") return false;