mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-02 16:06:31 +00:00
!1841 【轻量级 PR】:enable StopAllServices
Merge pull request !1841 from 许云通/N/A
This commit is contained in:
commit
1db3211187
@ -317,11 +317,11 @@ 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 0;
|
||||
}
|
||||
|
||||
static void DoStopAllServices(const struct CmdArgs *ctx)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user