diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-10-02 11:43:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-10-02 11:43:15 +0000 |
commit | 380c3efb251713af72748c0be1e1646d45ba142b (patch) | |
tree | 23604d579a5671c7174d5111d0ca052761283323 | |
parent | b8f0bf2c8511923aa38fc66124549bab81f40a89 (diff) | |
download | urpmi-380c3efb251713af72748c0be1e1646d45ba142b.tar urpmi-380c3efb251713af72748c0be1e1646d45ba142b.tar.gz urpmi-380c3efb251713af72748c0be1e1646d45ba142b.tar.bz2 urpmi-380c3efb251713af72748c0be1e1646d45ba142b.tar.xz urpmi-380c3efb251713af72748c0be1e1646d45ba142b.zip |
$rpm_lock is undefined when we create the rpmdb from scratch
-rwxr-xr-x | urpmi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -648,7 +648,7 @@ my $exit_code = urpm::main_loop::run($urpm, $state, unless ($env || $options{nolock}) { $urpmi_lock->unlock; - $rpm_lock->unlock; + $rpm_lock->unlock if $rpm_lock; } unless ($env) { |