From dae111bd7923a68d72cddf952c1b3d0947281bfd Mon Sep 17 00:00:00 2001 From: ycc Date: Wed, 16 Oct 2024 08:24:32 +0200 Subject: [PATCH] oc- exe path fix --- cmd/runtutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/runtutils.go b/cmd/runtutils.go index cff4715..5910ea5 100644 --- a/cmd/runtutils.go +++ b/cmd/runtutils.go @@ -32,7 +32,7 @@ func walkFolder(folderPath string, ctx context.Context, wg *sync.WaitGroup) { if strings.HasPrefix(file.Name(), "oc-") && (!strings.Contains(file.Name(), ".") || strings.Contains(file.Name(), ".exe")) { // Prepare the command to start the process wg.Add(1) - go startProcess(ctx, file.Name(), wg) + go startProcess(ctx, "./"+file.Name(), wg) } // find if strings.HasPrefix(strings.ToLower(file.Name()), "caddy") && strings.ToLower(file.Name()) != "caddyfile" {