mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3:registry: don't loop transaction_commit in create_sorted_subkeys() upon error
This would try to commit a higher level transaction upon commit-error. Michael
This commit is contained in:
parent
6cb14409af
commit
4c366a0946
@ -1203,7 +1203,7 @@ static bool create_sorted_subkeys(const char *key, const char *sorted_keyname)
|
||||
if (regdb->transaction_commit(regdb) == -1) {
|
||||
DEBUG(0, ("create_sorted_subkeys: transaction_start "
|
||||
"failed\n"));
|
||||
goto fail;
|
||||
result = false;
|
||||
}
|
||||
|
||||
TALLOC_FREE(ctr);
|
||||
|
Loading…
Reference in New Issue
Block a user