Skip to content

Commit

Permalink
test: cleanup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lrm25 committed Dec 8, 2024
1 parent 0e83322 commit 8b72b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util/util_bucket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ clear_bucket_s3api() {
return 1
fi

if ! change_bucket_owner "$AWS_ACCESS_KEY_ID" "$AWS_SECRET_ACCESS_KEY" "$1" "$AWS_ACCESS_KEY_ID"; then
if [ "$RUN_USERS" == "true" ] && ! change_bucket_owner "$AWS_ACCESS_KEY_ID" "$AWS_SECRET_ACCESS_KEY" "$1" "$AWS_ACCESS_KEY_ID"; then
log 2 "error changing bucket owner back to root"
return 1
fi
Expand Down

0 comments on commit 8b72b01

Please sign in to comment.