Skip to content

Commit

Permalink
Merge 682e80c into ef35c56
Browse files Browse the repository at this point in the history
  • Loading branch information
saracen committed Jun 1, 2021
2 parents ef35c56 + 682e80c commit 593f147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (s *darwinLaunchdService) Uninstall() error {
func (s *darwinLaunchdService) Status() (Status, error) {
exitCode, out, err := runWithOutput("launchctl", "list", s.Name)
if exitCode == 0 && err != nil {
if !strings.Contains(err.Error(), "failed with StandardError") {
if !strings.Contains(err.Error(), "failed with stderr") {
return StatusUnknown, err
}
}
Expand Down

0 comments on commit 593f147

Please sign in to comment.