Skip to content

Commit

Permalink
exit if kprobes
Browse files Browse the repository at this point in the history
  • Loading branch information
= mlm-games committed Sep 10, 2024
1 parent dd3d054 commit 7762408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/integrate-no-kprobe.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def modify_ksu_config(defconfig, enable=True):
kprobes_enabled = re.search(r'^CONFIG_KPROBES=y$', content, re.MULTILINE)
if kprobes_enabled:
print(f"Error: CONFIG_KPROBES is enabled in {defconfig_path}. Follow the official docs foor kprobe integration.")
return
exit()

# Check if CONFIG_KSU is already present
ksu_regex = re.compile(r'^CONFIG_KSU=.*$', re.MULTILINE)
Expand Down

0 comments on commit 7762408

Please sign in to comment.