summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-08-26 14:32:36 +0000
committerFrancois Pons <fpons@mandriva.com>2003-08-26 14:32:36 +0000
commita732b8fa6a7dcbdf3568efdd11f56714b0ea4536 (patch)
treeb0eb548bd9188909987ff5512b9f4af02018953b
parenta69024488ecf08280f6e946bde8ee844b2486520 (diff)
downloadurpmi-a732b8fa6a7dcbdf3568efdd11f56714b0ea4536.tar
urpmi-a732b8fa6a7dcbdf3568efdd11f56714b0ea4536.tar.gz
urpmi-a732b8fa6a7dcbdf3568efdd11f56714b0ea4536.tar.bz2
urpmi-a732b8fa6a7dcbdf3568efdd11f56714b0ea4536.tar.xz
urpmi-a732b8fa6a7dcbdf3568efdd11f56714b0ea4536.zip
fixed to use exclusive lock (avoid any other command to perform).
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index a8456906..71e393bd 100755
--- a/urpmi
+++ b/urpmi
@@ -322,7 +322,7 @@ unless ($bug) {
}
$verbose > 0 or $urpm->{log} = sub {};
-$urpm->shlock_urpmi_db;
+$urpm->exlock_urpmi_db;
$urpm->configure(nocheck_access => $env || $uid > 0,
media => $media,
excludemedia => $excludemedia,