Skip to content

Commit

Permalink
Add detection for Linux Mint and Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Honig committed Jan 20, 2021
1 parent a52e1e7 commit 3cb7d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func executeCheck(event *types.Event) (int, error) {
var numSec int
var numCrit int
var numImp int
if osID == "ubuntu" {
if osID == "ubuntu" || osID == "linuxmint" || osID == "debian" {
sev, numPatch, numSec, numImp, numCrit, checkErr = ubuntu.CheckPatch(plugin.secCntWarn, plugin.secCntCrit)
} else if osID == "rhel" {
sev, numPatch, numSec, numImp, numCrit, checkErr = redhat.CheckPatch(plugin.secCntWarn, plugin.secCntCrit)
Expand Down

0 comments on commit 3cb7d21

Please sign in to comment.