Skip to content

Commit

Permalink
Bonus track: add check: true to run_command in our meson.build
Browse files Browse the repository at this point in the history
…to avoid issue #1256
  • Loading branch information
ibc committed Dec 6, 2023
1 parent b24789e commit ad9c57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ if host_machine.system() == 'windows'
endif

if host_machine.system() == 'linux' and not get_option('ms_disable_liburing')
kernel_version = run_command('uname', '-r').stdout().strip()
kernel_version = run_command('uname', '-r', check: true).stdout().strip()

# Enable liburing for kernel versions greather than or equal to 6.
if kernel_version[0].to_int() >= 6
Expand Down

0 comments on commit ad9c57d

Please sign in to comment.