summaryrefslogtreecommitdiff
path: root/Command/Move.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Move.hs')
-rw-r--r--Command/Move.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Move.hs b/Command/Move.hs
index 6bf6e0582..a98276e7e 100644
--- a/Command/Move.hs
+++ b/Command/Move.hs
@@ -124,7 +124,7 @@ fromStart src move file = isAnnexed file $ \(key, _) -> do
g <- Annex.gitRepo
u <- getUUID g
remotes <- Remote.keyPossibilities key
- if (u == Remote.uuid src) || (null $ filter (== src) remotes)
+ if u == Remote.uuid src || not (any (== src) remotes)
then stop
else do
showAction move file