summaryrefslogtreecommitdiff
path: root/Backend/File.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend/File.hs')
-rw-r--r--Backend/File.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/File.hs b/Backend/File.hs
index d28b92728..b99a064ae 100644
--- a/Backend/File.hs
+++ b/Backend/File.hs
@@ -79,7 +79,7 @@ copyKeyFile key file = do
{- Tries to copy a file from a remote. -}
copyFromRemote :: Git.Repo -> Key -> FilePath -> IO Bool
copyFromRemote r key file = do
- if (Git.repoIsLocal r)
+ if (not $ Git.repoIsUrl r)
then getlocal
else if (Git.repoIsSsh r)
then getssh