fix: loginService
-> loginItemService
(#42380)
fix: loginService -> loginItemService
This commit is contained in:
parent
d97dcf388a
commit
25ed286706
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ SMAppService* GetServiceForType(const std::string& type,
|
||||||
return [SMAppService agentServiceWithPlistName:service_name];
|
return [SMAppService agentServiceWithPlistName:service_name];
|
||||||
} else if (type == "daemonService") {
|
} else if (type == "daemonService") {
|
||||||
return [SMAppService daemonServiceWithPlistName:service_name];
|
return [SMAppService daemonServiceWithPlistName:service_name];
|
||||||
} else if (type == "loginService") {
|
} else if (type == "loginItemService") {
|
||||||
return [SMAppService loginItemServiceWithIdentifier:service_name];
|
return [SMAppService loginItemServiceWithIdentifier:service_name];
|
||||||
} else {
|
} else {
|
||||||
LOG(ERROR) << "Unrecognized login item type";
|
LOG(ERROR) << "Unrecognized login item type";
|
||||||
|
|
Loading…
Add table
Reference in a new issue