mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 23:14:03 -05:00
Directly accept RequestCode for connect_daemon
This commit is contained in:
@@ -206,7 +206,7 @@ int su_client_main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// Connect to client
|
||||
owned_fd fd = connect_daemon(+RequestCode::SUPERUSER);
|
||||
owned_fd fd = connect_daemon(RequestCode::SUPERUSER);
|
||||
|
||||
// Send request
|
||||
req.write_to_fd(fd);
|
||||
|
||||
Reference in New Issue
Block a user