Skip to content

Commit

Permalink
Testing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
derickdiaz committed Jan 24, 2024
1 parent b51dcdd commit 39517ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf5/commands/download/download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void DownloadCommand::run() {
}
for (auto & [nerva, pkg] : download_pkgs) {
auto urls = pkg.get_remote_locations(urlprotocol_option);
if (urls.empty()) {
if (!urls.empty()) {
std::cout << "Testing if condition is met" << std::endl;
ctx.base.get_logger()->warning("Failed to get mirror for package: \"{}\"", pkg.get_name());
continue;
Expand Down

0 comments on commit 39517ec

Please sign in to comment.