Compare commits

...

1 Commits

Author SHA1 Message Date
Frederik Ring
63b545787e Exclusive file lock is released prematurely (#339) 2024-02-01 18:14:18 +01:00

View File

@@ -15,7 +15,9 @@ func main() {
}
unlock, err := s.lock("/var/lock/dockervolumebackup.lock")
defer s.must(unlock())
defer func() {
s.must(unlock())
}()
s.must(err)
defer func() {