Skip to content

Commit

Permalink
retinaebpfapi#syscall#3
Browse files Browse the repository at this point in the history
  • Loading branch information
vpidatala94 committed Feb 22, 2025
1 parent d7c83bc commit 3359c97
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/plugin/ebpfwindows/ebpf_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,10 @@ func (p *Plugin) pullCiliumMetricsAndEvents(ctx context.Context) {
}
}
oldPath := os.Getenv("PATH")
newPath := oldPath + "C:\\Program Files\\ebpf-for-windows\\"
newPath := oldPath + ";" + "C:\\Program Files\\ebpf-for-windows\\"
fmt.Println("PATH environment variable:", newPath)
if err := os.Setenv("PATH", newPath); err != nil {
fmt.Println("Error setting PATH environment variable: %v")
} else {
fmt.Println("Path enniroment variable set to:", newPath)
}
err = eventsMap.RegisterForCallback(p.eventsMapCallback)
if err != nil {
Expand Down

0 comments on commit 3359c97

Please sign in to comment.