summaryrefslogtreecommitdiff
path: root/Remote/External.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-12 16:59:04 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-12 16:59:04 -0400
commitb2fcdcc0a97add0ba0a518fb991f57431937c2a9 (patch)
treefddebae7627ee9c9b03cc4f8aff736c05dadaec1 /Remote/External.hs
parent9bb67ce329578be45b598c98b17283c3bb9dfd43 (diff)
export: cache connections for S3 and webdav
Diffstat (limited to 'Remote/External.hs')
-rw-r--r--Remote/External.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/External.hs b/Remote/External.hs
index ed00cc93f..fd4fd0649 100644
--- a/Remote/External.hs
+++ b/Remote/External.hs
@@ -70,7 +70,7 @@ gen r u c gc
avail <- getAvailability external r gc
exportsupported <- checkExportSupported' external
let exportactions = if exportsupported
- then ExportActions
+ then return $ ExportActions
{ storeExport = storeExportExternal external
, retrieveExport = retrieveExportExternal external
, removeExport = removeExportExternal external