From 637414904d38f6939ddcbecb38ba9a83ae17df3f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 5 Dec 1998 08:19:42 +0000 Subject: [PATCH] oops - lock test was the wrong way around (This used to be commit 783d4b3477fa9e363aa1f7524bd060019648ab0d) --- source3/lib/pidfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c index 3e943577d80..6fc64aafe2f 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; } -- 2.34.1