diff options
Diffstat (limited to 'Remote/Bup.hs')
-rw-r--r-- | Remote/Bup.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Bup.hs b/Remote/Bup.hs index 4e89dcff2..370cbc1c0 100644 --- a/Remote/Bup.hs +++ b/Remote/Bup.hs @@ -72,7 +72,7 @@ gen r u c gc = do then Just buprepo else Nothing , remotetype = remote - , globallyAvailable = not $ bupLocal buprepo + , availability = if bupLocal buprepo then LocallyAvailable else GloballyAvailable , readonly = False } return $ Just $ encryptableRemote c |