summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 089818c9aa..552ea617aa 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -196,7 +196,7 @@ void brl_shutdown(int read_only)
{
BOOL check_self = True;
- if (tdb)
+ if (!tdb)
return;
/* delete any dead locks */