diff options
-rw-r--r-- | Command/Whereis.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Whereis.hs b/Command/Whereis.hs index 74660f283..ef4303b3a 100644 --- a/Command/Whereis.hs +++ b/Command/Whereis.hs @@ -30,8 +30,7 @@ start file = isAnnexed file $ \(key, _) -> do perform :: Key -> CommandPerform perform key = do - locations <- keyLocations key - (untrustedlocations, safelocations) <- trustPartition UnTrusted locations + (untrustedlocations, safelocations) <- trustPartition UnTrusted =<< keyLocations key let num = length safelocations showNote $ show num ++ " " ++ copiesplural num pp <- prettyPrintUUIDs "whereis" safelocations |