You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if!strings.Contains(err.Error(), "failed with stderr") {
Specifically, this condition !strings.Contains(err.Error(), "failed with stderr") is the culprit.
The text was updated successfully, but these errors were encountered:
cuonglm
changed the title
Incorrect status when calling Service.Status without root privilege.
MacOS: incorrect status when calling Service.Status without root privilege.
Jul 17, 2024
I wrote a service named
ctrld
, after installing, verifying that the service is running:Querying the status using
launchctl
confirms this:The problem seems to be this line:
service/service_darwin.go
Line 219 in becf2eb
Specifically, this condition
!strings.Contains(err.Error(), "failed with stderr")
is the culprit.The text was updated successfully, but these errors were encountered: