aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-15 12:14:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-15 12:14:15 +0200
commit5cec9d0ed77702a9cb6796918ebead70792562e8 (patch)
treec3517f7cc1af2550288eaf0c571ecb7f041fab00
parent9bc86407477f95380bb0afafc4e6f4fb3d16b321 (diff)
downloadvulns-5cec9d0ed77702a9cb6796918ebead70792562e8.tar.gz
scripts/cve_update: ignore testing cves
Happened to collide with a real one, what's the odds... Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-xscripts/cve_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cve_update b/scripts/cve_update
index ac9e20b6..44771dc7 100755
--- a/scripts/cve_update
+++ b/scripts/cve_update
@@ -159,7 +159,7 @@ if [[ "${CVE}" == "" ]]; then
wait
else
CVE_ROOT="${DIR}/../cve/"
- found=$(find "${CVE_ROOT}" -type f | grep "${CVE}" | grep "sha1")
+ found=$(find "${CVE_ROOT}" -type f | grep -v testing | grep "${CVE}" | grep "sha1")
if [[ "${found}" == "" ]]; then
echo "${txtred}ERROR:${txtrst} ${txtcyn}${CVE}${txtrst} is not found to be updated."
exit 1