Skip to content

Commit

Permalink
tracee-ebpf: ignore kernel config check when init fails
Browse files Browse the repository at this point in the history
  • Loading branch information
yanivagman committed Jun 6, 2021
1 parent f87e71f commit c158069
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tracee-ebpf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,11 @@ func missingKernelConfigOptions() []string {
}

kConfig := helpers.KernelConfig{}
kConfig.InitKernelConfig()
err := kConfig.InitKernelConfig()
if err != nil {
// we were not able to get kernel config - ignore the check and try to continue
return []string{}
}

missing := []string{}

Expand Down

0 comments on commit c158069

Please sign in to comment.