diff options
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/eventscript.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index b85fed5944b..ed20124bb0a 100644 --- a/ctdb/server/eventscript.c +++ b/ctdb/server/eventscript.c @@ -456,6 +456,10 @@ static void ctdb_run_debug_hung_script(struct ctdb_context *ctdb, struct debug_h return; } + if (getenv("CTDB_DEBUG_HUNG_SCRIPT") != NULL) { + debug_hung_script = getenv("CTDB_DEBUG_HUNG_SCRIPT"); + } + argv = talloc_array(state, const char *, 5); argv[0] = talloc_asprintf(argv, "%d", fd[1]); |