summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/get_pkgs.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm
index c489cf21..a6bdcde9 100644
--- a/urpm/get_pkgs.pm
+++ b/urpm/get_pkgs.pm
@@ -157,8 +157,7 @@ sub download_packages_of_distant_media {
mkdir "$cachedir/partial";
mkdir "$cachedir/rpms";
} else {
- $urpm->{error}(N("sorry, you can't use --install-src to install remote .src.rpm files"));
- exit 1;
+ $urpm->{fatal}(1, N("Can not download packages into %s", "$cachedir/partial"));
}
}