summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cve-check.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 09487f1174..f5d73fdeba 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -176,7 +176,7 @@ def check_cves(d, patched_cves):
176 f.write("%s,%s,%s," % (bpn, pv, cves)) 176 f.write("%s,%s,%s," % (bpn, pv, cves))
177 cmd.append(faux) 177 cmd.append(faux)
178 178
179 output = subprocess.check_output(cmd, stderr=subprocess.STDOUT).decode("utf-8") 179 output = subprocess.check_output(cmd).decode("utf-8")
180 bb.debug(2, "Output of command %s:\n%s" % ("\n".join(cmd), output)) 180 bb.debug(2, "Output of command %s:\n%s" % ("\n".join(cmd), output))
181 except subprocess.CalledProcessError as e: 181 except subprocess.CalledProcessError as e:
182 bb.warn("Couldn't check for CVEs: %s (output %s)" % (e, e.output)) 182 bb.warn("Couldn't check for CVEs: %s (output %s)" % (e, e.output))