diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-12-05 08:19:42 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-12-05 08:19:42 +0000 |
commit | 783d4b3477fa9e363aa1f7524bd060019648ab0d (patch) | |
tree | 8b84c38fc26127dd37773d303392a0b7162e26a3 /source/lib | |
parent | f7ad78e369ebf2f4d31e8259e3e1fdd4c087b037 (diff) | |
download | samba-783d4b3477fa9e363aa1f7524bd060019648ab0d.tar.gz samba-783d4b3477fa9e363aa1f7524bd060019648ab0d.tar.xz samba-783d4b3477fa9e363aa1f7524bd060019648ab0d.zip |
oops - lock test was the wrong way around
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/pidfile.c | 2 |
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; } |