ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 1 Feb 2011 19:34:44 +0000 (20:34 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 9 Feb 2011 17:59:19 +0000 (18:59 +0100)
commit8d80225afb764e937e41e0d52586e1f038871734
treec0b5baaec572fe09490f9b04bb5ce011d6f8475d
parent5e06b21cc1553606efaeae03504e91d811793085
ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors

Use "return" when located in "main" for consistency ("exit" would do the
same).

The patchset has been discussed with Jelmer Vernooij and afterwards LDB
maintainer Simo Sorce.
source4/lib/ldb/tools/cmdline.c
source4/lib/ldb/tools/ldbadd.c
source4/lib/ldb/tools/ldbdel.c
source4/lib/ldb/tools/ldbedit.c
source4/lib/ldb/tools/ldbmodify.c
source4/lib/ldb/tools/ldbrename.c
source4/lib/ldb/tools/ldbsearch.c
source4/lib/ldb/tools/ldbtest.c