Skip to content

Commit

Permalink
updated aws_s3_sync.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Sep 5, 2024
1 parent 6dd0194 commit fbd5456
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws/aws_s3_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ decomment(){
}

validate_s3_url(){
if ! is_s3_url "$1"; then
die "Invalid S3 URL given: $1"
local url="$1"
if ! is_s3_url "$url"; then
die "Invalid S3 URL given: $url"
fi
}

Expand Down

0 comments on commit fbd5456

Please # to comment.