From 0739cf138ee74640a5fb7f68e024aa416a67da7b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 27 Mar 2013 14:19:10 -0400 Subject: fix inverted logic in filtering failed remotes --- Assistant/Sync.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant') diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs index 54dcb42c2..1c8f84fcd 100644 --- a/Assistant/Sync.hs +++ b/Assistant/Sync.hs @@ -165,7 +165,7 @@ syncAction rs a | otherwise = do i <- addAlert $ syncAlert nonxmppremotes failed <- a rs - let failed' = filter (Git.repoIsLocalUnknown . Remote.repo) failed + let failed' = filter (not . Git.repoIsLocalUnknown . Remote.repo) failed let succeeded = filter (`notElem` failed) nonxmppremotes updateAlertMap $ mergeAlert i $ syncResultAlert succeeded failed' -- cgit v1.2.3