launch/service: drop unused error-path
We have no custom errors to return from service_activate(), so no reason
to forward them. Fold them into fatal errors and drop unused
error-handling since this is done during object teardown, anyway.
@@ -981,10 +981,8 @@ int service_activate(Service *service, uint64_t serial) {
}
r = service_start(service);
- if (r) {
- service_discard_activation(service);
- return error_trace(r);
- }
+ if (r)
+ return error_fold(r);
return 0;
}
