summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-24 13:10:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:51 -0500
commit2a9b65cd17b271ff88fca6bda0bddc6230c2b319 (patch)
tree3e7d4a7c8eb6548f9ee8dbf39835d5ca10bd47a5 /source4/lib
parentebf07796086b1b9c03550326c3a3da437d4e7af3 (diff)
downloadsamba-2a9b65cd17b271ff88fca6bda0bddc6230c2b319.tar.gz
samba-2a9b65cd17b271ff88fca6bda0bddc6230c2b319.tar.bz2
samba-2a9b65cd17b271ff88fca6bda0bddc6230c2b319.zip
r10475: make sure we report failures in tdbtorture (ie. get the exit status right)
(This used to be commit a795fc0aa141c08af6e37af07c88164bad3db35b)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index c6298167fd..840397b73b 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -334,5 +334,5 @@ static void usage(void)
printf("OK\n");
}
- return 0;
+ return error_count;
}