change a few renameFile's to rename
AFAIK, none of these ever operate on directories, but nor do I want to explicitly check if they're files and fail if not.
This commit is contained in:
parent
1669e80e85
commit
070ed4a766
4 changed files with 6 additions and 5 deletions
|
@ -77,7 +77,7 @@ lockPidFile file = do
|
|||
#else
|
||||
writeFile newfile "-1"
|
||||
#endif
|
||||
renameFile newfile file
|
||||
rename newfile file
|
||||
where
|
||||
newfile = file ++ ".new"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue