summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-28 22:17:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-28 22:17:16 +0000
commit1265cac8b93cfcdcaa337504eb57bdaf752a56d2 (patch)
tree273abceea68f9c34b9e0f53303f851d660917487 /urpm.pm
parent05f3b6808ddca3e0e384bc2ec7b2a05e749a527c (diff)
downloadurpmi-1265cac8b93cfcdcaa337504eb57bdaf752a56d2.tar
urpmi-1265cac8b93cfcdcaa337504eb57bdaf752a56d2.tar.gz
urpmi-1265cac8b93cfcdcaa337504eb57bdaf752a56d2.tar.bz2
urpmi-1265cac8b93cfcdcaa337504eb57bdaf752a56d2.tar.xz
urpmi-1265cac8b93cfcdcaa337504eb57bdaf752a56d2.zip
use confess to get stacktrace (instead of croak)
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 43cd4004..d9b02be4 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -205,7 +205,7 @@ sub file_from_local_medium {
my $url = $o_url || $medium->{url};
if ($url =~ m!^cdrom://(.*)!) {
my $rel = $1;
- $medium->{mntpoint} or do { require Carp; Carp::croak("cdrom is not mounted yet!\n") };
+ $medium->{mntpoint} or do { require Carp; Carp::confess("cdrom is not mounted yet!\n") };
"$medium->{mntpoint}/$rel";
} else {
file_from_local_url($url);