summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-04-28 14:39:51 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-04-28 14:39:51 -0400
commitd7b330b33bcfa57164dad05b0fc9990ad4a35275 (patch)
treee45473e9427e83553b55014043bf21b8a5d2153b /Remote
parent84e1ebfb0eab5490ace84c1e8a66688bd52a1a54 (diff)
Fix hasKeyCheap setting for bup and rsync special remotes.
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Bup.hs2
-rw-r--r--Remote/Rsync.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Bup.hs b/Remote/Bup.hs
index 6ae002c3b..0aaff06b2 100644
--- a/Remote/Bup.hs
+++ b/Remote/Bup.hs
@@ -61,7 +61,7 @@ gen r u c = do
retrieveKeyFile = retrieve buprepo,
removeKey = remove,
hasKey = checkPresent r bupr',
- hasKeyCheap = True,
+ hasKeyCheap = bupLocal buprepo,
config = c
}
diff --git a/Remote/Rsync.hs b/Remote/Rsync.hs
index 21c570a87..682c96174 100644
--- a/Remote/Rsync.hs
+++ b/Remote/Rsync.hs
@@ -61,7 +61,7 @@ gen r u c = do
retrieveKeyFile = retrieve o,
removeKey = remove o,
hasKey = checkPresent r o,
- hasKeyCheap = True,
+ hasKeyCheap = False,
config = Nothing
}