summaryrefslogtreecommitdiffstats
path: root/rpm-find-leaves
diff options
context:
space:
mode:
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;