Add changelog entry.

This commit is contained in:
Shea Craig 2020-09-01 14:39:17 -04:00 committed by Daniel Wozniak
parent 690ecc1d02
commit 2961006491

8
changelog/58340.fixed Normal file
View file

@ -0,0 +1,8 @@
Apparently Apple is using both "10.16" and "11" for versioning Big Sur,
depending on where you look. The mac_softwareupdate module uses a different
regex depending on OS version, and the determination was based on the
osrelease_info grain. This results in a Big Sur machine not using the correct
regex; osrelease_info[1] is 0 for Big Sur.
This change simply adds an additional clause to the if statement to handle
osmajorrelease > 10.