ctdbd: Sleep at exit to allow time for log messages to flush
authorMartin Schwenke <martin@meltin.net>
Wed, 17 Jul 2013 01:14:37 +0000 (11:14 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 19 Jul 2013 05:40:59 +0000 (15:40 +1000)
commit88ba32b78749caa22177fedc629bc84a057b2ffd
tree39d9bbb9b7ea583c1e99a0f1fb3b91d881f97fb8
parent84f5528d9b526b1e9cb02c245e816c0c5e54c3bc
ctdbd: Sleep at exit to allow time for log messages to flush

Register print_exit_message() earlier so that it covers most of the
early exits.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 90d792cf28d6a823141e4c417b6978f02a9cf596)
ctdb/server/ctdb_daemon.c