Skip to content

Commit

Permalink
fix(helpers): fixed bug check curl exist
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangneeee committed Oct 2, 2023
1 parent 3a1bed1 commit a31dbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func CheckPermissionSudo() error {
}

func CheckCurlExist() error {
cmd := exec.Command("which", "ok")
cmd := exec.Command("which", "curl")
_, err := cmd.CombinedOutput()
if err != nil {
fmt.Println("Please install curl: sudo apt-get install curl")
Expand Down

0 comments on commit a31dbaa

Please sign in to comment.