ldbedit: prevent a transaction warning on failure
authorKelly Yeoh <kyeoh@au1.ibm.com>
Wed, 25 Jan 2012 03:58:44 +0000 (14:58 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 25 Jan 2012 06:06:40 +0000 (07:06 +0100)
commit34e7d960d0065a51b5524630a6699834c9b362b1
treee34f4e182f23163f8acab004542e9e35fdb8bcc7
parentab5cdb31e98396fabce1e6f9d7fafe91d5a839d8
ldbedit: prevent a transaction warning on failure

if a modify fails then cancel the transaction to prevent a dangling
transaction error

Signed-off-by: Andrew Tridgell <tridge@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Jan 25 07:06:40 CET 2012 on sn-devel-104
lib/ldb/tools/ldbedit.c