🩹 Don't run cosmic-app-library in the session

This commit is contained in:
Lucy 2022-07-07 16:47:05 -04:00
parent a67a677a1a
commit b07df79e4c
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1

View file

@ -57,15 +57,6 @@ async fn main() -> Result<()> {
comp::create_privileged_socket(&mut sockets, &env_vars)
.wrap_err("failed to create dock socket")?,
);
generic::run_executable(
token.child_token(),
info_span!(parent: None, "cosmic-app-library"),
"cosmic-app-library",
vec![],
comp::create_privileged_socket(&mut sockets, &env_vars)
.wrap_err("failed to create dock socket")?,
);
socket_tx.send(sockets).unwrap();
let mut signals = Signals::new(vec![libc::SIGTERM, libc::SIGINT]).unwrap();