You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix companion exec failed
This commit is contained in:
@@ -156,6 +156,7 @@ fn create_daemon_socket() -> Result<UnixListener> {
|
||||
fn spawn_companion(name: &str, lib_fd: RawFd) -> Result<Option<UnixStream>> {
|
||||
let (mut daemon, companion) = UnixStream::pair()?;
|
||||
|
||||
// FIXME: avoid getting self path from arg0
|
||||
let process = std::env::args().next().unwrap();
|
||||
let nice_name = process.split('/').last().unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user