Skip to content

Commit

Permalink
Remove random check
Browse files Browse the repository at this point in the history
  • Loading branch information
mlm-games authored Sep 14, 2024
1 parent 35e1fc4 commit 4b0349b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/integrate-no-kprobe.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def modify_ksu_config(defconfig, enable=True):
defconfig_path = None
for directory in directories:
for filename in os.listdir(directory):
if filename.endswith("_defconfig") and filename == defconfig:
if filename.endswith("_defconfig"):
defconfig_path = os.path.join(directory, filename)
break
if defconfig_path:
Expand Down Expand Up @@ -232,4 +232,4 @@ def main():
process_kernel_source(file_paths, enable_ksu=not args.disable_ksu, disable_external_mods=args.disable_external_mods)

if __name__ == '__main__':
main()
main()

0 comments on commit 4b0349b

Please sign in to comment.