Skip to content

Commit

Permalink
kernel: don't remove from sysfs when debug is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Mar 18, 2024
1 parent fefb02e commit 4bad691
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/ksu.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ int __init kernelsu_init(void)
#endif

#ifdef MODULE
#ifndef CONFIG_KSU_DEBUG
kobject_del(&THIS_MODULE->mkobj.kobj);
#endif
#endif
return 0;
}
Expand Down

0 comments on commit 4bad691

Please sign in to comment.