summaryrefslogtreecommitdiffstats
path: root/rpm-find-leaves
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-12-11 11:27:17 +0000
committerFrancois Pons <fpons@mandriva.com>2002-12-11 11:27:17 +0000
commit170345ed730ff801de7a3230a3727fcb70383ffa (patch)
treea3048f5bfeae9feecae80073440ac108ffda78c7 /rpm-find-leaves
parent933d4974697b7561b1ea880c4b7d9b75d92087bd (diff)
downloadurpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar
urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar.gz
urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar.bz2
urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar.xz
urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.zip
4.1-12mdk
Diffstat (limited to 'rpm-find-leaves')
-rw-r--r--rpm-find-leaves2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm-find-leaves b/rpm-find-leaves
index 5c7fb496..3ab5a470 100644
--- a/rpm-find-leaves
+++ b/rpm-find-leaves
@@ -5,7 +5,7 @@
use URPM;
my @packages;
{
- my $db = URPM::DB::open;
+ my $db = URPM::DB::open or die;
$db->traverse(sub {
my ($p) = @_;
$p->pack_header;