From: Martin Schwenke Date: Mon, 10 Feb 2020 06:19:36 +0000 (+1100) Subject: ctdb-tests: Fix return value of DB test tool delete command X-Git-Tag: ldb-2.1.1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a702b01f66a2cd4c8ebbb142872dc19d584540d;p=thirdparty%2Fsamba.git ctdb-tests: Fix return value of DB test tool delete command Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/src/db_test_tool.c b/ctdb/tests/src/db_test_tool.c index eb0ad14fcba..fe0ab6c6e2a 100644 --- a/ctdb/tests/src/db_test_tool.c +++ b/ctdb/tests/src/db_test_tool.c @@ -305,7 +305,7 @@ static int db_test_fetch_local_delete(TALLOC_CTX *mem_ctx, done: TALLOC_FREE(h); - return 0; + return ret; } #define ISASCII(x) (isprint(x) && ! strchr("\"\\", (x)))