summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rgw/rgw_swift.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc
index 8e77768fcdc..19810d6a867 100644
--- a/src/rgw/rgw_swift.cc
+++ b/src/rgw/rgw_swift.cc
@@ -102,7 +102,7 @@ bool rgw_verify_os_token(req_state *s)
int ret = rgw_swift_validate_token(s->os_auth_token, &info);
if (ret < 0)
- return ret;
+ return false;
if (!info.user) {
dout(5) << "swift auth didn't authorize a user" << dendl;