Commit d5a77e10 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Bugfix: release lock when election already exists

parent 3709ce01
......@@ -214,6 +214,7 @@ module Make (C : CONFIG) : SITE = struct
with Not_found -> return false
in
if exists then (
Lwt_mutex.unlock registration_mutex;
return None
) else (
let ( / ) = Filename.concat in
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment