aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-14 10:08:24 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-14 10:08:24 +0000
commit18803273406f44b561861a44ba81bca762b31335 (patch)
tree4ea7acf553d9829ab78ae1911ebd1373ec90d224 /URPM.pm
parenta2fa45ec703832c48618f5828d883b8655bec090 (diff)
downloadperl-URPM-18803273406f44b561861a44ba81bca762b31335.tar
perl-URPM-18803273406f44b561861a44ba81bca762b31335.tar.gz
perl-URPM-18803273406f44b561861a44ba81bca762b31335.tar.bz2
perl-URPM-18803273406f44b561861a44ba81bca762b31335.tar.xz
perl-URPM-18803273406f44b561861a44ba81bca762b31335.zip
Verify if we can open the rpmdb, and abort if we can't (bug #22527)
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/URPM.pm b/URPM.pm
index 9cfb282..c72715d 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -364,7 +364,8 @@ specfile.
=item open($prefix, $write_perm)
-Returns a new C<URPM::DB> object pointing on the local RPM database.
+Returns a new C<URPM::DB> object pointing on the local RPM database (or
+C<undef> on failure).
$prefix defaults to C<""> and indicates the RPM DB root directory prefix if
any. (See the B<--root> option to rpm(1)).