Skip to content

Commit

Permalink
zimbraHealth: use TrimSpace on serviceName
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Jan 13, 2025
1 parent 410f4c0 commit 7a6a323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zimbraHealth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func CheckZimbraServices() {
serviceName = strings.TrimSpace(strings.ReplaceAll(svcSplit[0], "is not", ""))
serviceStatus = "Not Running"
} else {
serviceName = svcSplit[0]
serviceName = strings.TrimSpace(svcSplit[0])
serviceStatus = "Running"
}

Expand Down

0 comments on commit 7a6a323

Please sign in to comment.