mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
build: Explicitly pass check kwarg to run_command()
The default value will change from `false` to `true` in future Meson releases, so let’s be explicit. We don’t want to check the exit status of the program in this case, as we parse the `--help` output instead. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3640>
This commit is contained in:
parent
22b8af263b
commit
a8be959cd8
@ -593,7 +593,7 @@ if have_xwayland
|
||||
if xwayland_dep.found()
|
||||
xwayland_supports_initfd = xwayland_dep.get_variable('have_initfd') == 'true'
|
||||
else
|
||||
xwayland_options = run_command(xwayland_path, '-help')
|
||||
xwayland_options = run_command(xwayland_path, '-help', check: false)
|
||||
xwayland_supports_initfd = xwayland_options.stderr().contains('-initfd')
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user