ctdb-tests: Move die() function to top of script
authorMartin Schwenke <martin@meltin.net>
Thu, 3 Aug 2017 10:57:47 +0000 (20:57 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 14 Aug 2017 03:15:25 +0000 (05:15 +0200)
commit661426df40abea0960ab3a0f55063dbb009ae6b6
treef41be79d026b2aef54671e1b11216639de367149
parentac1b1d8c8a65e048c605d73f58dc22785f78181d
ctdb-tests: Move die() function to top of script

So it can be called within the script instead of just by scripts that
include it.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/common.sh