diff options
author | Martin Schwenke <martin@meltin.net> | 2013-04-22 14:55:33 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-05-06 15:40:30 +1000 |
commit | 3769368a993f90f4257b4c0ddc4bba7caf69d26c (patch) | |
tree | 54ca7c5d34ea14b73226e49c8dc775742e604eb2 /ctdb | |
parent | fa16cccf0227bf72fabd858ecd68c76d22a76f67 (diff) | |
download | samba-3769368a993f90f4257b4c0ddc4bba7caf69d26c.tar.gz samba-3769368a993f90f4257b4c0ddc4bba7caf69d26c.tar.xz samba-3769368a993f90f4257b4c0ddc4bba7caf69d26c.zip |
ctdbd: Log CTDB startup before creating the PID file
Otherwise the messages are in a stupid order... :-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reported-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit cd87ba85fc6c375758c7d3dfa8dbd4d8a02074b0)
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c index c9799c3c4e8..d8edcee020a 100644 --- a/ctdb/server/ctdb_daemon.c +++ b/ctdb/server/ctdb_daemon.c @@ -1174,8 +1174,8 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork, bool use_syslog, ctdbd_pid = getpid(); ctdb->ctdbd_pid = ctdbd_pid; + DEBUG(DEBUG_ERR, ("Starting CTDBD as PID: %u\n", ctdbd_pid)); ctdb_create_pidfile(ctdb->ctdbd_pid); - DEBUG(DEBUG_ERR, ("Starting CTDBD as pid : %u\n", ctdbd_pid)); if (ctdb->do_setsched) { /* try to set us up as realtime */ |