Skip to content

Commit

Permalink
fix(scan): Failed to parse CentOS Stream (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
shigechika authored Jan 6, 2021
1 parent 4359503 commit fcc4901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan/redhatbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func detectRedhat(c config.ServerInfo) (bool, osTypeInterface) {

release := result[2]
switch strings.ToLower(result[1]) {
case "centos", "centos linux":
case "centos", "centos linux", "centos stream":
cent := newCentOS(c)
cent.setDistro(config.CentOS, release)
return true, cent
Expand Down

0 comments on commit fcc4901

Please sign in to comment.