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 | 637414904d38f6939ddcbecb38ba9a83ae17df3f (patch) | |
tree | b497a3765b002f961eaf6c5509d350d2936f7bdf /source3/lib | |
parent | 84ba7b422dd65330a990e9d75b6225978c671180 (diff) | |
download | samba-637414904d38f6939ddcbecb38ba9a83ae17df3f.tar.gz samba-637414904d38f6939ddcbecb38ba9a83ae17df3f.tar.bz2 samba-637414904d38f6939ddcbecb38ba9a83ae17df3f.zip |
oops - lock test was the wrong way around
(This used to be commit 783d4b3477fa9e363aa1f7524bd060019648ab0d)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/pidfile.c | 2 |
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; } |