Skip to content

Commit

Permalink
Fix spelling in command in warning message of ingen
Browse files Browse the repository at this point in the history
The command in ingen "vm.mmap_rnd_bits = 28" failed as the proper bash syntax for assigning varriables is without spaces.

(cherry picked from commit 7c085660d8a3ba398139a9e6eeff1c0042c80338)
  • Loading branch information
Karol Bonat authored and MasloMaslane committed Aug 22, 2024
1 parent 3c7d86b commit d140852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinol_make/commands/ingen/ingen_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run_ingen(ingen_exe, working_dir=None):

if util.has_sanitizer_error(whole_output, exit_code):
print(util.warning('Warning: if ingen failed due to sanitizer errors, you can either run '
'`sudo sysctl vm.mmap_rnd_bits = 28` to fix this or disable sanitizers with the '
'`sudo sysctl vm.mmap_rnd_bits=28` to fix this or disable sanitizers with the '
'--no-fsanitize flag.'))

return exit_code == 0

0 comments on commit d140852

Please sign in to comment.