!1841 【轻量级 PR】:enable StopAllServices

Merge pull request !1841 from 许云通/N/A
This commit is contained in:
openharmony_ci 2023-03-21 08:51:29 +00:00 committed by Gitee
commit 1db3211187
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -317,10 +317,10 @@ static int FilterService(const Service *service, const char **exclude, int size)
{
for (int i = 0; i < size; i++) {
if (exclude[i] != NULL && strcmp(service->name, exclude[i]) == 0) {
return 0;
return 1;
}
}
return 1;
return 0;
}
static void DoStopAllServices(const struct CmdArgs *ctx)