From c412acf30c2f2d0c92c7c9ba761037ceb077c101 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Fri, 4 Mar 2022 14:11:47 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=94=AF=E6=8C=81suspend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xionglei6 --- services/init/init_service_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/init/init_service_manager.c b/services/init/init_service_manager.c index 41ff3e3c..a97704fd 100755 --- a/services/init/init_service_manager.c +++ b/services/init/init_service_manager.c @@ -973,7 +973,7 @@ void StopAllServices(int flags, const char **exclude, int size, continue; } INIT_LOGI("StopAllServices stop service %s ", service->name); - if (filter != NULL && filter(service, exclude, size) == 0) { + if (filter != NULL && filter(service, exclude, size) != 0) { node = GetNextGroupNode(NODE_TYPE_SERVICES, node); continue; } -- GitLab