summaryrefslogtreecommitdiff
path: root/Remote/Glacier.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Glacier.hs')
-rw-r--r--Remote/Glacier.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Remote/Glacier.hs b/Remote/Glacier.hs
index 65c978bd4..c1a53347d 100644
--- a/Remote/Glacier.hs
+++ b/Remote/Glacier.hs
@@ -195,14 +195,12 @@ checkPresent r k = do
, Param $ archive r k
]
- untrusted = do
- showLongNote $ unlines
+ untrusted = return $ Left $ unlines
[ "Glacier's inventory says it has a copy."
, "However, the inventory could be out of date, if it was recently removed."
, "(Use --trust-glacier if you're sure it's still in Glacier.)"
, ""
]
- return $ Right False
glacierAction :: Remote -> [CommandParam] -> Annex Bool
glacierAction r params = runGlacier (config r) (uuid r) params