git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4239a6f
)
daemon: fill ctdb->ctdbd_pid early
author
Michael Adam
<obnox@samba.org>
Tue, 28 Dec 2010 12:14:23 +0000
(13:14 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Mar 2011 23:56:34 +0000
(
00:56
+0100)
server/ctdb_daemon.c
patch
|
blob
|
history
diff --git
a/server/ctdb_daemon.c
b/server/ctdb_daemon.c
index 9c650a084f1207cd6bfda7fd99273a9285b75bb6..75344ad386c73bd2ea8b52fa9d859e2e14eb42c9 100644
(file)
--- a/
server/ctdb_daemon.c
+++ b/
server/ctdb_daemon.c
@@
-777,6
+777,7
@@
int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork, bool use_syslog,
block_signal(SIGPIPE);
ctdbd_pid = getpid();
+ ctdb->ctdbd_pid = ctdbd_pid;
DEBUG(DEBUG_ERR, ("Starting CTDBD as pid : %u\n", ctdbd_pid));