diff options
-rw-r--r-- | lib/tdb/tools/tdbtorture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tdb/tools/tdbtorture.c b/lib/tdb/tools/tdbtorture.c index 04bbb7da76..760ad59313 100644 --- a/lib/tdb/tools/tdbtorture.c +++ b/lib/tdb/tools/tdbtorture.c @@ -439,6 +439,7 @@ done: O_RDWR, 0, &log_ctx, NULL); if (!db) { fatal("db open failed\n"); + exit(1); } if (tdb_check(db, NULL, NULL) == -1) { printf("db check failed\n"); |