diff options
author | 2013-09-25 23:19:01 -0400 | |
---|---|---|
committer | 2013-09-25 23:19:01 -0400 | |
commit | f32cb2cf1576db1395f77bd5f7f0c0a3e86c1334 (patch) | |
tree | 7d61d584b86f263659c96d21e5aac235f6abe239 /Remote/Rsync.hs | |
parent | 9559613df8bb914b5034ba0f1aafd26884e5d9e7 (diff) |
hlint
Diffstat (limited to 'Remote/Rsync.hs')
-rw-r--r-- | Remote/Rsync.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Rsync.hs b/Remote/Rsync.hs index 76b786ec7..673f7661f 100644 --- a/Remote/Rsync.hs +++ b/Remote/Rsync.hs @@ -86,7 +86,7 @@ gen r u c gc = do then Just $ rsyncUrl o else Nothing , readonly = False - , globallyAvailable = not $ islocal + , globallyAvailable = not islocal , remotetype = remote } @@ -262,7 +262,7 @@ rsyncRetrieve o k dest callback = , File dest ] -rsyncRemote :: RsyncOpts -> (Maybe MeterUpdate) -> [CommandParam] -> Annex Bool +rsyncRemote :: RsyncOpts -> Maybe MeterUpdate -> [CommandParam] -> Annex Bool rsyncRemote o callback params = do showOutput -- make way for progress bar ifM (liftIO $ (maybe rsync rsyncProgress callback) ps) |