| ... | @@ -1078,9 +1078,11 @@ pub const File = struct { | ... | @@ -1078,9 +1078,11 @@ pub const File = struct { |
| 1078 | log.warn("failed to save archive hash digest file: {s}", .{@errorName(err)}); | 1078 | log.warn("failed to save archive hash digest file: {s}", .{@errorName(err)}); |
| 1079 | }; | 1079 | }; |
| 1080 | | 1080 | |
| 1081 | man.writeManifest() catch |err| { | 1081 | if (man.have_exclusive_lock) { |
| 1082 | log.warn("failed to write cache manifest when archiving: {s}", .{@errorName(err)}); | 1082 | man.writeManifest() catch |err| { |
| 1083 | }; | 1083 | log.warn("failed to write cache manifest when archiving: {s}", .{@errorName(err)}); |
| | 1084 | }; |
| | 1085 | } |
| 1084 | | 1086 | |
| 1085 | base.lock = man.toOwnedLock(); | 1087 | base.lock = man.toOwnedLock(); |
| 1086 | } | 1088 | } |