tdb: tdbdump should log errors, and fail in that case.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 3 Oct 2012 23:34:23 +0000 (09:04 +0930)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 10:07:42 +0000 (11:07 +0100)
commit2bd35b443e0253a847b5806498e70d9ea5e94656
tree996fadfe1befdd735e0116332e5c4c8b5c3f395f
parent095419daff004df2ac0068e64eb2cabb58103c54
tdb: tdbdump should log errors, and fail in that case.

Dumping a corrupt database should not exit silently with 0 status!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from commit ffde8678910ae838588ab380b48a544333f81241)
lib/tdb/tools/tdbdump.c