mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
Print message when getting original app_process fails
This commit is contained in:
parent
4159b3871c
commit
0b5f973b31
@ -45,8 +45,11 @@ int app_process_main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
close(fds[1]);
|
||||
if (read_int(fds[0]) != 0)
|
||||
if (read_int(fds[0]) != 0) {
|
||||
fprintf(stderr, "Failed to connect magisk daemon, "
|
||||
"try umount %s or reboot.\n", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
int app_proc_fd = recv_fd(fds[0]);
|
||||
if (app_proc_fd < 0)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user