[sudo-commits] sudo changeset 12512:a283acb4622a
Todd C. Miller
Todd.Miller at sudo.ws
Wed Jun 24 14:20:48 MDT 2020
changeset: 12512:a283acb4622a in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/a283acb4622a
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Jun 24 14:19:14 2020 -0600
Log Message:
Fix parsing of /etc/redhat-release on RHEL 8.
RedHat dropped the word "server" from the release name in redhat-release
which results in the awk script printing the wrong field. Instead
of using awk, just use sed to pull out the version number immediately
following the word "release".
diffstat:
scripts/pp | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
More information about the sudo-commits
mailing list