summaryrefslogtreecommitdiff
path: root/Assistant/Threads/ConfigMonitor.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-10-02 22:59:07 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-10-02 22:59:07 -0400
commitc81a8bd68c53348b9e561dc588499452a5a654c7 (patch)
treed1c52c78723784f20c33763c282860878d19f979 /Assistant/Threads/ConfigMonitor.hs
parent0d14a987dc4887de5516497206356652e846c996 (diff)
hlint
Diffstat (limited to 'Assistant/Threads/ConfigMonitor.hs')
-rw-r--r--Assistant/Threads/ConfigMonitor.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Threads/ConfigMonitor.hs b/Assistant/Threads/ConfigMonitor.hs
index 6a01ff35e..3d8be476e 100644
--- a/Assistant/Threads/ConfigMonitor.hs
+++ b/Assistant/Threads/ConfigMonitor.hs
@@ -54,7 +54,7 @@ type Configs = S.Set (FilePath, String)
{- All git-annex's config files, and actions to run when they change. -}
configFilesActions :: [(FilePath, Annex ())]
configFilesActions =
- [ (uuidLog, void $ uuidMapLoad)
+ [ (uuidLog, void uuidMapLoad)
, (remoteLog, void remoteListRefresh)
, (trustLog, void trustMapLoad)
, (groupLog, void groupMapLoad)
@@ -71,7 +71,7 @@ reloadConfigs changedconfigs = do
{- Changes to the remote log, or the trust log, can affect the
- syncRemotes list. Changes to the uuid log may affect its
- display so are also included. -}
- when (any (`elem` fs) [remoteLog, trustLog, uuidLog]) $
+ when (any (`elem` fs) [remoteLog, trustLog, uuidLog])
updateSyncRemotes
where
(fs, as) = unzip $ filter (flip S.member changedfiles . fst)