mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 23:06:37 +00:00
Only check deb sources.list entries
The check isn't specific enough, it also catches deb-src entries and would give a false impression of security in certain circumstances, or lead to false negatives in case you have a deb-src entry for buster/updates even though you have bullseye-security in just the next line -- something that isn't that uncommon for developers. Signed-off-by: Rhonda D'Vine <rhonda@deb.at> Reviewed-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
ba775794ac
commit
b8436f0c6b
@ -1010,7 +1010,7 @@ sub check_security_repo {
|
||||
|
||||
($line) = split(/#/, $line);
|
||||
|
||||
next if $line !~ m/^deb/; # is case sensitive
|
||||
next if $line !~ m/^deb[[:space:]]/; # is case sensitive
|
||||
|
||||
my $suite;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user