Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 2bcbd37

Browse files
authored
Merge pull request #5 from portainer/fix/EE-542/check-right-folder
fix: look for the right path
2 parents 5a82a9d + 0b5174b commit 2bcbd37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ func programPath(rootPath, program string) string {
1919

2020
// IsBinaryPresent check if docker compose binary is present
2121
func IsBinaryPresent(program string) bool {
22-
_, err := exec.LookPath(osProgram(program))
22+
_, err := exec.LookPath(program)
2323
return err == nil
2424
}

0 commit comments

Comments
 (0)