r10475: make sure we report failures in tdbtorture (ie. get the exit status right)
authorAndrew Tridgell <tridge@samba.org>
Sat, 24 Sep 2005 13:10:19 +0000 (13:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:51 +0000 (13:38 -0500)
(This used to be commit a795fc0aa141c08af6e37af07c88164bad3db35b)

source4/lib/tdb/tools/tdbtorture.c

index c6298167fd396621582b5642487e4b3495a2d177..840397b73bfc97c0f54fa35012798f1fc896a7c5 100644 (file)
@@ -334,5 +334,5 @@ static void usage(void)
                printf("OK\n");
        }
 
-       return 0;
+       return error_count;
 }