]> git.proxmox.com Git - dab.git/commit
read_packages: do not be greedy when matching package status value
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 14 Jun 2022 07:05:47 +0000 (09:05 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 14 Jun 2022 07:06:42 +0000 (09:06 +0200)
commitef0e24f1b11d785b655191ad7778606ea76a6e17
tree7b84b3858f7686801d2de41aed486739660ca216
parentf1b497af2e26e0b5809c9536eeb59c627d3916a3
read_packages: do not be greedy when matching package status value

Else a trailing whitespace is slurped into the $2 value, and that can
trip up users of this data.

Reported in the community forum:
https://forum.proxmox.com/threads/dab-internal-error-at-usr-share-perl5-pve-dab-pm-line-1327.97258/

Commit message copied from previous fix for other RE.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
DAB.pm