MagiskHide small fix
This commit is contained in:
parent
198b14e5fc
commit
ff5c0d6361
@ -19,7 +19,7 @@ static void terminate(int sig) {
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
if (argc > 0) {
|
||||
if (argc > 1) {
|
||||
if (strcmp(argv[1], "--daemon") == 0)
|
||||
run_as_daemon();
|
||||
else {
|
||||
|
@ -7,6 +7,8 @@ void monitor_proc() {
|
||||
// Get the mount namespace of init
|
||||
read_namespace(1, init_ns, 32);
|
||||
|
||||
printf("%s\n", init_ns);
|
||||
|
||||
// Get the mount namespace of zygote
|
||||
FILE *p = popen("/data/busybox/ps | grep zygote | grep -v grep", "r");
|
||||
while(fgets(buffer, sizeof(buffer), p)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user