diff options
| -rw-r--r-- | meta/classes/cve-check.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 0c5f40b78d..1b4910f737 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass | |||
| @@ -264,7 +264,7 @@ def check_cves(d, patched_cves): | |||
| 264 | products = d.getVar("CVE_PRODUCT").split() | 264 | products = d.getVar("CVE_PRODUCT").split() |
| 265 | # If this has been unset then we're not scanning for CVEs here (for example, image recipes) | 265 | # If this has been unset then we're not scanning for CVEs here (for example, image recipes) |
| 266 | if not products: | 266 | if not products: |
| 267 | return ([], [], [], {}) | 267 | return ([], [], [], []) |
| 268 | pv = d.getVar("CVE_VERSION").split("+git")[0] | 268 | pv = d.getVar("CVE_VERSION").split("+git")[0] |
| 269 | 269 | ||
| 270 | # If the recipe has been skipped/ignored we return empty lists | 270 | # If the recipe has been skipped/ignored we return empty lists |
