Loading init/builtins.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -746,6 +746,7 @@ static Result<void> do_setrlimit(const BuiltinArguments& args) { static Result<void> do_start(const BuiltinArguments& args) { Service* svc = ServiceList::GetInstance().FindService(args[1]); if (!svc) return Error() << "service " << args[1] << " not found"; errno = 0; if (auto result = svc->Start(); !result.ok()) { return ErrorIgnoreEnoent() << "Could not start service: " << result.error(); } Loading Loading
init/builtins.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -746,6 +746,7 @@ static Result<void> do_setrlimit(const BuiltinArguments& args) { static Result<void> do_start(const BuiltinArguments& args) { Service* svc = ServiceList::GetInstance().FindService(args[1]); if (!svc) return Error() << "service " << args[1] << " not found"; errno = 0; if (auto result = svc->Start(); !result.ok()) { return ErrorIgnoreEnoent() << "Could not start service: " << result.error(); } Loading