[cheese/wip/davidk/meson-tweaks: 1/2] Explicitly check return code of run_command




commit 93ede76498a6dc90f8a1035928801e8289e47410
Author: David King <amigadave amigadave com>
Date:   Tue May 31 14:42:44 2022 +0100

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]