mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
Partially revert 1f0298dd1b
It's fine to catch keyboard interrupts and other kinds of errors when it's done just for resource management, where the error is reraised later. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Feb 25 17:29:34 CET 2012 on sn-devel-104
This commit is contained in:
@ -117,7 +117,7 @@ class cmd_dbcheck(Command):
|
||||
else:
|
||||
error_count = chk.check_database(DN=DN, scope=search_scope,
|
||||
controls=controls, attrs=attrs)
|
||||
except Exception:
|
||||
except:
|
||||
if started_transaction:
|
||||
samdb.transaction_cancel()
|
||||
raise
|
||||
|
Reference in New Issue
Block a user