Skip to content

Commit 1e44a11

Browse files
committed
fix wrong condition trigger check service file
1 parent 14bf714 commit 1e44a11

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cmd/check.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ func GetCheckCmd() *cobra.Command {
7070
checkHomeKeyring(home, nodeType == types.ValidatorNode)
7171
checkHomeConfig(home, nodeType)
7272
checkHomeData(home, nodeType)
73-
checkServiceFileForValidatorOnLinux(home, serviceFilePath)
73+
if nodeType == types.ValidatorNode && isLinux {
74+
checkServiceFileForValidatorOnLinux(home, serviceFilePath)
75+
}
7476

7577
fmt.Println("NOTICE: some tasks need to be checked manually:")
7678

constants/varcons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package constants
44

55
//goland:noinspection GoSnakeCaseUsage
66
var (
7-
VERSION = "1.1.1"
7+
VERSION = "1.1.2"
88
COMMIT_HASH = ""
99
BUILD_DATE = ""
1010
)

0 commit comments

Comments
 (0)