From 93ede76498a6dc90f8a1035928801e8289e47410 Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 31 May 2022 14:42:44 +0100 Subject: Explicitly check return code of run_command --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 48de79d1..f35fa9f2 100644 --- a/meson.build +++ b/meson.build @@ -151,7 +151,7 @@ gnome_video_effects_dep = dependency( gst_inspect = find_program('gst-inspect-1.0', required: false) if gst_inspect.found() foreach plugin: ['camerabin', 'vp8enc', 'webmmux'] - if run_command(gst_inspect, plugin).returncode() != 0 + if run_command(gst_inspect, plugin, check: false).returncode() != 0 warning(plugin + ' was not found. It needs to be installed before Cheese is run') endif endforeach -- cgit v1.2.1