ctdb-tests: Fix return value of DB test tool delete command
authorMartin Schwenke <martin@meltin.net>
Mon, 10 Feb 2020 06:19:36 +0000 (17:19 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 12 Feb 2020 03:11:39 +0000 (03:11 +0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/src/db_test_tool.c

index eb0ad14fcbac869de8be479b981058a3895d7911..fe0ab6c6e2aecc0cabc492d85922e09c4040ef8b 100644 (file)
@@ -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)))