summaryrefslogtreecommitdiff
path: root/lib/ntdb/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ntdb/lock.c')
-rw-r--r--lib/ntdb/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ntdb/lock.c b/lib/ntdb/lock.c
index 167770d097..625a2c4934 100644
--- a/lib/ntdb/lock.c
+++ b/lib/ntdb/lock.c
@@ -232,7 +232,7 @@ static enum NTDB_ERROR ntdb_brunlock(struct ntdb_context *ntdb,
return NTDB_SUCCESS;
}
- if (!check_lock_pid(ntdb, "ntdb_brunlock", true))
+ if (!check_lock_pid(ntdb, "ntdb_brunlock", false))
return NTDB_ERR_LOCK;
if (unlock(ntdb, rw_type, offset, len) == -1) {