summaryrefslogtreecommitdiffstats
path: root/source/lib/pidfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/pidfile.c')
-rw-r--r--source/lib/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/pidfile.c b/source/lib/pidfile.c
index 3e943577d80..6fc64aafe2f 100644
--- a/source/lib/pidfile.c
+++ b/source/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;
}