aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Config.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Config.pm b/lib/Iurt/Config.pm
index 0b27dc8..83251dd 100644
--- a/lib/Iurt/Config.pm
+++ b/lib/Iurt/Config.pm
@@ -214,6 +214,7 @@ sub dump_cache_par {
if (!$status) {
unlink $filename;
link "$filename.tmp.$daydate", $filename;
+ # FIXME: File::lockf isn't use(d) or require(d) and isn't even in the distro
File::lockf::ulock($file);
} else {
plog('WARN', "WARNING: locking the cache file $filename failed (status $status $!), try to lock manually");