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()
|
if xwayland_dep.found()
|
||||||
xwayland_supports_initfd = xwayland_dep.get_variable('have_initfd') == 'true'
|
xwayland_supports_initfd = xwayland_dep.get_variable('have_initfd') == 'true'
|
||||||
else
|
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')
|
xwayland_supports_initfd = xwayland_options.stderr().contains('-initfd')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user