From 6f5ed2b8b829e01fc675537e47095868ff8b5aa2 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 19 Jul 2018 17:41:07 +1000 Subject: [PATCH] ctdb-tests: Fix a typo BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520 Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/tests/takeover_helper/scripts/local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/tests/takeover_helper/scripts/local.sh b/ctdb/tests/takeover_helper/scripts/local.sh index 2bab8c7a06e..40ba617573a 100644 --- a/ctdb/tests/takeover_helper/scripts/local.sh +++ b/ctdb/tests/takeover_helper/scripts/local.sh @@ -109,5 +109,5 @@ test_takeover_helper () unit_test_notrace takeover_helper_format_outfd _ret=$? rm "$takeover_helper_out" - [ $? -eq 0 ] || exit $? + [ $_ret -eq 0 ] || exit $_ret }