git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84ba7b4
)
oops - lock test was the wrong way around
author
Andrew Tridgell
<tridge@samba.org>
Sat, 5 Dec 1998 08:19:42 +0000
(08:19 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 5 Dec 1998 08:19:42 +0000
(08:19 +0000)
(This used to be commit
783d4b3477fa9e363aa1f7524bd060019648ab0d
)
source3/lib/pidfile.c
patch
|
blob
|
history
diff --git
a/source3/lib/pidfile.c
b/source3/lib/pidfile.c
index 3e943577d804b1f80eaf6aa4dede8b7dc7917c12..6fc64aafe2f3b7866da0c27e37f32af0ac766ad8 100644
(file)
--- 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;
}