Skip to content

Commit 7e52fde

Browse files
committed
fixing curl command in release download post
1 parent b10e649 commit 7e52fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2023-02-15-github-download-latest-release.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ wget https://github.com/aquasecurity/tfsec/releases/latest/download/tfsec-linux-
3737
### curl
3838

3939
```sh
40-
curl -O https://github.com/aquasecurity/tfsec/releases/latest/download/tfsec-linux-amd64
40+
curl -LO https://github.com/aquasecurity/tfsec/releases/latest/download/tfsec-linux-amd64
4141
```
4242
{: .nolineno}
4343

44-
> The `-O` (case sensitive) saves the file as the same name specified in the URL
44+
> The `-O` (case sensitive) saves the file as the same name specified in the URL, and `-L` follows redirects.
4545
{: .prompt-tip }
4646

4747
## Download a Specific Version

0 commit comments

Comments
 (0)