Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 45e9780

Browse files
committed
fixing centos compatibility issue
1 parent fce7eab commit 45e9780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
func detectLinuxFamily() (string, error) {
1010
var pmCommands map[string]string = map[string]string{
1111
"debian": "apt list",
12-
"rhel": "yum",
12+
"rhel": "yum version",
1313
}
1414

1515
for dist, command := range pmCommands {

0 commit comments

Comments
 (0)