diff options
Diffstat (limited to 'Utility/LogFile.hs')
-rw-r--r-- | Utility/LogFile.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/LogFile.hs b/Utility/LogFile.hs index 090ac60d0..1c29b9ff4 100644 --- a/Utility/LogFile.hs +++ b/Utility/LogFile.hs @@ -30,7 +30,7 @@ rotateLog logfile = go 0 | num > maxLogs = return () | otherwise = whenM (doesFileExist currfile) $ do go (num + 1) - renameFile currfile nextfile + rename currfile nextfile where currfile = filename num nextfile = filename (num + 1) |