Skip to content

Commit

Permalink
s4:dsdb: Don’t overwrite existing error code (CID 1445263)
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
  • Loading branch information
jsutton24 authored and abartlet committed Oct 13, 2023
1 parent b60604b commit 244440d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source4/dsdb/samdb/ldb_modules/partition.c
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ int partition_read_unlock(struct ldb_module *module)
}
}

ret = partition_metadata_read_unlock(module);
ret2 = partition_metadata_read_unlock(module);

/*
* Don't overwrite the original failure code
Expand Down

0 comments on commit 244440d

Please sign in to comment.