Skip to content
Unverified Commit 2528a65e authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

Take in a patch from dsa-nagios



This is from this commit of the dsa-nagios.git.

commit d95cb3856c48aff6792f8a6799fb1f37d44c4c51
Author:     Peter Palfrader <peter@palfrader.org>
AuthorDate: Mon Oct 14 11:49:28 2019 +0200
Commit:     Peter Palfrader <peter@palfrader.org>
CommitDate: Mon Oct 14 11:49:28 2019 +0200

    dsa-check-running-kernel: sort kernel versions better

    When we ask apt-cache for information on the metapackage to extract the
    actual kernel image it depends on, we sort that output.  It's not clear
    why we do that, since we pass the option --no-all-versions to apt-cache
    so we should only get one answer anyhow.  Nevertheless, since we sort we
    might just as well use -V to version sort that output.  dpkg-version
    sort would be even better, but hey.  This is based on Erik Auerswald's
    patch in #884328.

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 75e87e5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment