diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-28 22:17:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-28 22:17:16 +0000 |
commit | 1265cac8b93cfcdcaa337504eb57bdaf752a56d2 (patch) | |
tree | 273abceea68f9c34b9e0f53303f851d660917487 | |
parent | 05f3b6808ddca3e0e384bc2ec7b2a05e749a527c (diff) | |
download | urpmi-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)
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |