oc- exe path fix
This commit is contained in:
		@@ -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" {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user