diff options
Diffstat (limited to 'Remote/S3real.hs')
-rw-r--r-- | Remote/S3real.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/S3real.hs b/Remote/S3real.hs index 29117b3a4..97ac64821 100644 --- a/Remote/S3real.hs +++ b/Remote/S3real.hs @@ -286,7 +286,7 @@ s3GetCreds c = do _ -> return Nothing else return $ Just (ak, sk) where - getEnvKey s = liftIO $ catch (getEnv s) (const $ return "") + getEnvKey s = liftIO $ catchDefaultIO (getEnv s) "" {- Stores S3 creds encrypted in the remote's config if possible. -} s3SetCreds :: RemoteConfig -> Annex RemoteConfig |