enable StopAllServices

Signed-off-by: 许云通 <scorpion_xyt@outlook.com>
This commit is contained in:
许云通 2023-03-21 07:21:23 +00:00 committed by Gitee
parent 9a16cfd886
commit 42add2e78b
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)