summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c
index 3e943577d8..6fc64aafe2 100644
--- a/source3/lib/pidfile.c
+++ b/source3/lib/pidfile.c
@@ -56,7 +56,7 @@ pid_t pidfile_pid(char *name)
goto ok;
}
- if (fcntl_lock(fd,SMB_F_SETLK,0,1,F_WRLCK)==False) {
+ if (fcntl_lock(fd,SMB_F_SETLK,0,1,F_WRLCK)) {
/* we could get the lock - it can't be a Samba process */
goto ok;
}