From 2ebc305be64cd59ad8cb4ccb6beb6ec6e66bf07a Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Fri, 14 Nov 2014 13:31:03 +1100 Subject: ctdb-scripts: Factor out new function program_stack_traces() In the process, fix a bug where an extra trace would be printed. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/eventscripts/scripts/local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctdb/tests/eventscripts/scripts') diff --git a/ctdb/tests/eventscripts/scripts/local.sh b/ctdb/tests/eventscripts/scripts/local.sh index d14e42ec84..2c5738eefa 100644 --- a/ctdb/tests/eventscripts/scripts/local.sh +++ b/ctdb/tests/eventscripts/scripts/local.sh @@ -861,7 +861,7 @@ Trying to restart NFS service" for _pid in $FAKE_NFSD_THREAD_PIDS ; do _t="\ $_t -${_bg}Stack trace for stuck nfsd thread [${_pid}]: +${_bg}Stack trace for nfsd[${_pid}]: ${_bg}[] fake_stack_trace_for_pid_${_pid}/stack+0x0/0xff" done fi -- cgit