ctdb-tests: Fix a typo
authorAmitay Isaacs <amitay@gmail.com>
Thu, 19 Jul 2018 07:41:07 +0000 (17:41 +1000)
committerMartin Schwenke <martins@samba.org>
Sat, 28 Jul 2018 01:50:11 +0000 (03:50 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520

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

index 2bab8c7a06eafbb46faca61d75af9a4aea55830b..40ba617573a6bf8f40ba35954a7800d15443d181 100644 (file)
@@ -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
 }