summaryrefslogtreecommitdiff
path: root/Annex/SpecialRemote.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/SpecialRemote.hs')
-rw-r--r--Annex/SpecialRemote.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/SpecialRemote.hs b/Annex/SpecialRemote.hs
index f53a2ca63..c215208db 100644
--- a/Annex/SpecialRemote.hs
+++ b/Annex/SpecialRemote.hs
@@ -81,7 +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 (Just u) Nothing c dummycfg
+ res <- tryNonAsync $ setup t (Enable c) (Just u) Nothing c dummycfg
case res of
Left e -> warning (show e)
Right _ -> return ()