diff --git a/src/backend/bs_publish b/src/backend/bs_publish index 63e241fce88fbd803a19c8ccfaa0b3d99bf4f1cf..ccdcf9bdd2177503ae4e93276e3bd8b0ef0cf94d 100755 --- a/src/backend/bs_publish +++ b/src/backend/bs_publish @@ -2736,7 +2736,7 @@ sub publish { if ($repotype{'debian'}) { my $aptly_config = BSAptly::aptly_repo_get_config($projid, $repoid); if ($aptly_config) { - BSAptly::aptly_update_repo($projid, $repoid, $aptly_config, $extrep); + BSAptly::aptly_update_repo($projid, $repoid, $aptly_config, $extrep) or die; } elsif ($BSConfig::reprepository && $BSConfig::reprepository->{$prp}) { updaterepo_reprepro($prp, $extrep, @changed); } else {