Skip to content

Commit

Permalink
Fix issue with /etc/lsb-release filename
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30 committed Jan 26, 2022
1 parent 27b8b89 commit 6865d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
// If it's not there, try the os-release file
// Use the GOOS var as a fallback
func GetDistroName() string {
var lsbFile = "/etc/lsb-release1"
var lsbFile = "/etc/lsb-release"
var osReleaseFile = "/etc/os-release"

// Try the lsb file
Expand Down

0 comments on commit 6865d68

Please sign in to comment.