ctdbd: Remove command-line option --debug-hung-script
authorMartin Schwenke <martin@meltin.net>
Tue, 5 Feb 2013 04:49:52 +0000 (15:49 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 5 Feb 2013 05:05:13 +0000 (16:05 +1100)
commit0581f9a84e58764d194f4e04064c2c5b393c348b
treebd7fde6f68833e66801b691ed60a9a62c1b530ee
parent501461cc3e132d4adee9e91b5d4513a26bae2846
ctdbd: Remove command-line option --debug-hung-script

Use an environment variable instead.  This just means that the
initscript exports CTDB_DEBUG_HUNG_SCRIPT and the code checks for the
environment variable.

The justification for this simplification is that more debug options
will be arriving soon and we want to handle them consistently without
needing to add a command-line option for each.  So, the convention
will be to use an environment variable for each debug option.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/ctdb.init
include/ctdb_private.h
server/ctdbd.c
server/eventscript.c