1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

oops - lock test was the wrong way around

(This used to be commit 783d4b3477)
This commit is contained in:
Andrew Tridgell 1998-12-05 08:19:42 +00:00
parent 84ba7b422d
commit 637414904d

View File

@ -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;
}