touch /tmp/testservice/down runsv /tmp/testservice & sv once /tmp/testservice sv down /tmp/testservice The last line attempts to bring down the service, but does nothing.
Created attachment 469 [details] Issue down request if service is running.
I propose just removing this test: if (svstatus.want == *a) return 0; it seems to be an optimization (and buggy one at that).
(In reply to comment #2) > I propose just removing this test: > > if (svstatus.want == *a) > return 0; Yeah. I think that'd be better than my proposed patch.