From fc824c8a3d427717101b93d5d2417348fd922a59 Mon Sep 17 00:00:00 2001 From: r4ulcl <25440046+r4ulcl@users.noreply.github.com> Date: Mon, 30 Dec 2024 21:43:31 +0100 Subject: [PATCH] Use bash instead of sh --- worker/modules/modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/modules/modules.go b/worker/modules/modules.go index 3119537..55f0236 100644 --- a/worker/modules/modules.go +++ b/worker/modules/modules.go @@ -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")