From 555b88ed513e2f299adcfee37d6ee8b99a5f7678 Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 27 May 2024 15:12:02 -0400 Subject: [PATCH] chore: update cfg condition --- core/cli/src/commands/admin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cli/src/commands/admin.rs b/core/cli/src/commands/admin.rs index c521dfb2a..f4e2bf550 100644 --- a/core/cli/src/commands/admin.rs +++ b/core/cli/src/commands/admin.rs @@ -91,7 +91,7 @@ pub async fn exec(cmd: AdminSubCmd) -> Result<()> { match cmd { AdminSubCmd::Tui(cmd) => tui(cmd).await, - #[cfg(feature = "ebpf")] + #[cfg(target_os = "linux")] AdminSubCmd::Ebpf(cmd) => ebpf::exec(cmd), } }