Skip to content

Commit

Permalink
Update CVE-2022-0847.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
backloop-biz authored Mar 24, 2022
1 parent f124a45 commit 5a09f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CVE-2022-0847.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ if [ "$DISTRIB" == "Ubuntu" ]; then
fixedVer["2004"]="5.4.0-9.12" #Focal
fixedVer["2110"]="5.13.0-35.40" #Impish

isinstalled=`dpkg -l | grep policykit | wc -l`
isinstalled=`dpkg -l | grep $PACKAGE | wc -l`

if [ "$isinstalled" == "0" ]; then
echo "No package found on your system. You are not vulnerable!"
Expand Down

0 comments on commit 5a09f05

Please sign in to comment.