git.samba.org
/
ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daemon: fill ctdb->ctdbd_pid early
[ctdb.git]
/
server
/
ctdb_daemon.c
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));