From 0ceda1de0e0cdbf508e31dba825f7a9ba4ce012d Mon Sep 17 00:00:00 2001 From: Kieran Moy Date: Sat, 4 May 2024 00:45:23 +0800 Subject: [PATCH] Update ui/mainwindow_grpc.cpp --- ui/mainwindow_grpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/mainwindow_grpc.cpp b/ui/mainwindow_grpc.cpp index ca70693..18a60d3 100644 --- a/ui/mainwindow_grpc.cpp +++ b/ui/mainwindow_grpc.cpp @@ -288,7 +288,7 @@ void MainWindow::neko_start(int _id) { #ifdef Q_OS_LINUX if (IS_NEKO_BOX_INTERNAL_TUN) - auto ret = Linux_Pkexec_SetCapString(NekoGui::FindNekoBoxCoreRealPath(), "cap_net_admin-ep"); + Linux_Pkexec_SetCapString(NekoGui::FindNekoBoxCoreRealPath(), "cap_net_admin-ep"); #endif auto ent = (_id < 0 && !ents.isEmpty()) ? ents.first() : NekoGui::profileManager->GetProfile(_id);