From a8be959cd8c613f796c9e88974f90394dab666f9 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 4 Mar 2024 16:56:16 +0000 Subject: [PATCH] build: Explicitly pass check kwarg to run_command() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c90ee41ae..8bd50153e 100644 --- a/meson.build +++ b/meson.build @@ -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