summaryrefslogtreecommitdiff
path: root/plugins/service
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/service')
-rw-r--r--plugins/service/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/service/plugin.go b/plugins/service/plugin.go
index 91e47e86..b5608ff2 100644
--- a/plugins/service/plugin.go
+++ b/plugins/service/plugin.go
@@ -79,7 +79,7 @@ func (service *Plugin) Workers() []process.State {
defer service.Unlock()
states := make([]process.State, 0, len(service.processes))
for i := 0; i < len(service.processes); i++ {
- st, err := process.GeneralProcessState(service.processes[i].Pid)
+ st, err := process.GeneralProcessState(service.processes[i].Pid, service.processes[i].rawCmd)
if err != nil {
continue
}