From bf0b0c68df6fae6712b8f621fa3ac28338e25c8e Mon Sep 17 00:00:00 2001 From: dru Date: Fri, 10 Jul 2020 11:29:34 -0500 Subject: [PATCH] match Debian-Security --- files/os_patching_fact_generation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/os_patching_fact_generation.sh b/files/os_patching_fact_generation.sh index 171a1385..bc0f03c0 100644 --- a/files/os_patching_fact_generation.sh +++ b/files/os_patching_fact_generation.sh @@ -39,7 +39,7 @@ case $(facter osfamily) in ;; Debian) PKGS=$(apt upgrade -s 2>/dev/null | awk '$1 == "Inst" {print $2}') - SECPKGS=$(apt upgrade -s 2>/dev/null | awk '$1 == "Inst" && /security/ {print $2}') + SECPKGS=$(apt upgrade -s 2>/dev/null | awk '$1 == "Inst" && /Security/ {print $2}') HELDPKGS=$(dpkg --get-selections | awk '$2 == "hold" {print $1}') ;; *)