mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
ipa-client-install: remove fsync in do_nsupdate()
No need to flush buffers on the nsupdate file as it will get removed at the end of the function. Related: https://pagure.io/freeipa/issue/8402 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
1439764c0e
commit
72f44b5596
@ -1363,7 +1363,6 @@ def do_nsupdate(update_txt):
|
||||
|
||||
with open(UPDATE_FILE, "w") as f:
|
||||
f.write(update_txt)
|
||||
ipautil.flush_sync(f)
|
||||
|
||||
result = False
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user