From 62ae66238d6ca0dcfcbdcde6cdb65ff54b2aff08 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Wed, 14 Feb 2024 16:09:15 +0100 Subject: [PATCH] fix: bug in linux --- config/admin_service_cmd_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/admin_service_cmd_runner.go b/config/admin_service_cmd_runner.go index 0541fb7..0baeef8 100644 --- a/config/admin_service_cmd_runner.go +++ b/config/admin_service_cmd_runner.go @@ -14,7 +14,7 @@ func ExecuteCmd(executablePath, args string, background bool) (string, error) { if appimage := os.Getenv("APPIMAGE"); appimage != "" { executablePath = appimage + " HiddifyService" if !background { - return nil, fmt.Errorf("Appimage can not have service") + return "Fail", fmt.Errorf("Appimage can not have service") } }