更新patch0005

This commit is contained in:
rabbitali 2023-06-30 20:50:12 +08:00
parent 4396f6ff01
commit 78d1706c42

View File

@ -29,7 +29,7 @@ index 8547abe..cfecb60 100644
- return ""
+ for hotpatch_info in [line for line in hotpatch_list_output.split(os.linesep) if line.startswith("CVE")]:
+ _, hot_pkg, status = hotpatch_info.strip().split()
+ if status == "ACTIVED":
+ if status in ("ACTIVED", "ACCEPTED"):
+ return hot_pkg
+ return None