revert erroneous checkins
This commit is contained in:
parent
5806add291
commit
73f7245be2
|
@ -60,7 +60,7 @@ static const char * const process_listing[] =
|
|||
"ctty",
|
||||
"stat",
|
||||
"statm",
|
||||
"qmdline",
|
||||
"cmdline",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -234,8 +234,6 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
|||
bool
|
||||
_pinfo::alive ()
|
||||
{
|
||||
if (!dwProcessId)
|
||||
return 0;
|
||||
HANDLE h = OpenProcess (PROCESS_QUERY_INFORMATION, false, dwProcessId);
|
||||
if (h)
|
||||
CloseHandle (h);
|
||||
|
|
Loading…
Reference in New Issue