1144 |
|
|
1145 |
errno= 0; |
errno= 0; |
1146 |
if((pid= Util_getPid(s->path)) >= 0) { |
if((pid= Util_getPid(s->path)) >= 0) { |
1147 |
DEBUG("Info: Got pid [%d] from '%s'\n", pid, s->path); |
DEBUG("'%s' got pid [%d] from '%s'\n", s->name, pid, s->path); |
1148 |
if( (getpgid(pid) > -1) || (errno == EPERM) ) |
if( (getpgid(pid) > -1) || (errno == EPERM) ) |
1149 |
return pid; |
return pid; |
1150 |
DEBUG("Info: Error testing process id [%d] -- %s\n", pid, STRERROR); |
DEBUG("'%s' Error testing process id [%d] -- %s\n", s->name, pid, STRERROR); |
1151 |
} |
} |
1152 |
Util_resetInfo(s); |
Util_resetInfo(s); |
1153 |
|
|