diff options
Diffstat (limited to 'Annex/SpecialRemote.hs')
-rw-r--r-- | Annex/SpecialRemote.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Annex/SpecialRemote.hs b/Annex/SpecialRemote.hs index c215208db..23b0f582f 100644 --- a/Annex/SpecialRemote.hs +++ b/Annex/SpecialRemote.hs @@ -81,8 +81,7 @@ autoEnable = do (Just name, Right t) -> whenM (canenable u) $ do showSideAction $ "Auto enabling special remote " ++ name dummycfg <- liftIO dummyRemoteGitConfig - res <- tryNonAsync $ setup t (Enable c) (Just u) Nothing c dummycfg - case res of + tryNonAsync (setup t (Enable c) (Just u) Nothing c dummycfg) >>= \case Left e -> warning (show e) Right _ -> return () _ -> return () |