Skip to content

Commit

Permalink
fix the if logic
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Bond <[email protected]>
  • Loading branch information
EXONER4TED authored and poiana committed Jul 12, 2022
1 parent 19e0fd3 commit 85dc7ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/driverbuilder/builder/ubuntu.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ func ubuntuGCCVersionFromKernelRelease(kr kernelrelease.KernelRelease) string {
}
return "6"
case 5:
if kr.PatchLevel >= 11 {
return "10"
} else if kr.PatchLevel >= 19 {
if kr.PatchLevel >= 19 {
return "11"
} else if kr.PatchLevel >= 11 {
return "10"
}
}

Expand Down

0 comments on commit 85dc7ae

Please sign in to comment.