ctdb-scripts: Always print footer when debugging hung script
authorMartin Schwenke <martin@meltin.net>
Thu, 26 Jun 2014 04:46:54 +0000 (14:46 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 3 Jul 2014 03:55:13 +0000 (05:55 +0200)
commitb0c191e5de15e54646b02925e37458d6a56db015
treefe3e83434ec22e4f8e2568b1ef3fa96b9b861676
parentd70c1e41ec0afeab9112d6d2da3da03be91624bc
ctdb-scripts: Always print footer when debugging hung script

There shouldn't be an early exit for the "init" event.  Just make the
"ctdb scriptstatus" call conditional.

While here, move the comment about only running a single instance to
be near locking code.  The comment is more useful there.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/debug-hung-script.sh