summaryrefslogtreecommitdiff
path: root/Utility/Daemon.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Utility/Daemon.hs')
-rw-r--r--Utility/Daemon.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Daemon.hs b/Utility/Daemon.hs
index 12beb235a..8d402eb54 100644
--- a/Utility/Daemon.hs
+++ b/Utility/Daemon.hs
@@ -77,7 +77,7 @@ lockPidFile file = do
#else
writeFile newfile "-1"
#endif
- renameFile newfile file
+ rename newfile file
where
newfile = file ++ ".new"