Skip to content

Commit

Permalink
fix -i not working
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariKnight committed Mar 5, 2023
1 parent 8db3eea commit d203469
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func main() {
usbs := iommu.MatchDEVs(groups,`USB controller`)
printoutput(usbs)
printIOMMUgroup(*iommu_group)
} else if len(*iommu_group) > 0 {
printIOMMUgroup(*iommu_group)
} else {
// Default behaviour mimicks the bash variant that this is based on
out := iommu.GetAllDevices(groups)
Expand Down

0 comments on commit d203469

Please sign in to comment.