From a25739530b20b0a32d8186785440bc502641354a Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Thu, 8 Dec 2022 01:47:03 +0200 Subject: [PATCH] fixup! proton: Sync pfx creation and create a guard file. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index a6c845a4..185dbdb1 100755 --- a/proton +++ b/proton @@ -629,7 +629,7 @@ class CompatData: if int(old_proton_maj) < 7 or (int(old_proton_maj) == 7 and int(old_proton_min) == 0 and int(old_prefix_ver) < 101): - with open(self.creation_sync_guard, "x"): + with open(self.creation_sync_guard, "w"): pass os.sync()