diff options
-rw-r--r-- | Annex/SpecialRemote.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/SpecialRemote.hs b/Annex/SpecialRemote.hs index bcff1d930..4a07ebbc7 100644 --- a/Annex/SpecialRemote.hs +++ b/Annex/SpecialRemote.hs @@ -73,7 +73,7 @@ autoEnable = do remotemap <- M.filter wanted <$> readRemoteLog forM_ (M.toList remotemap) $ \(u, c) -> case (M.lookup nameKey c, findType c) of - (Just name, Right t) -> do + (Just name, Right t) -> unlessM ((== DeadTrusted) <$> lookupTrust u) $ do showSideAction $ "Auto enabling special remote " ++ name res <- tryNonAsync $ setup t (Just u) Nothing c case res of |