From a322225fe2c56e46821f8fcd1a1763276101e601 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Mon, 12 Aug 2019 18:21:54 +0100 Subject: [PATCH] bin: Check for shared libraries even if we don't know what to expect We can at least print "unknown-expectations" in the summary of issues. Signed-off-by: Simon McVittie <smcv@collabora.com> --- bin/system-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/system-info.c b/bin/system-info.c index 433acc8fe..b220516be 100644 --- a/bin/system-info.c +++ b/bin/system-info.c @@ -319,7 +319,7 @@ main (int argc, can_run = srt_system_info_can_run (info, multiarch_tuples[i]); json_builder_add_boolean_value (builder, can_run); - if (can_run && expectations != NULL) + if (can_run) { json_builder_set_member_name (builder, "library-issues-summary"); json_builder_begin_array (builder); -- GitLab