Commit dd1ca6f15a85ba1e812be044bc12cdab9b3134dd

Carlos Martín Nieto 2015-12-24T17:38:41

refdb: refactor the lockfile cleanup We can reduce the duplication by cleaning up at the beginning of the loop, since it's something we want to do every time we continue.