Skip to content

Commit

Permalink
Use bash instead of sh
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ulcl committed Dec 30, 2024
1 parent d1cae30 commit fc824c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/modules/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func createInsecureCommand(command, arguments string, debug bool) *exec.Cmd {
if runtime.GOOS == "windows" {
return exec.Command("cmd", "/c", cmdStr)
} else if runtime.GOOS == "linux" {
return exec.Command("sh", "-c", cmdStr)
return exec.Command("bash", "-c", cmdStr)
}

log.Fatal("Unsupported operating system")
Expand Down

0 comments on commit fc824c8

Please sign in to comment.