From ccea87ca683f423b9649bdb872dbe10ec3f09b3e Mon Sep 17 00:00:00 2001 From: Richard Caunt Date: Mon, 6 Nov 2017 11:02:27 +0000 Subject: [PATCH] Added check for is_ecs during get_access_keys We need to presume that if `is_ecs` we are deferring access key loading --- src/s3fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s3fs.cpp b/src/s3fs.cpp index d2ae893..7da6216 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -4074,7 +4074,7 @@ static int get_access_keys(void) } // access key loading is deferred - if(load_iamrole){ + if(load_iamrole || is_ecs){ return EXIT_SUCCESS; }