develop
Petr Mrázek 2009-11-01 10:57:31 +00:00
parent 02a12782a7
commit 45a4d4d799
1 changed files with 1 additions and 5 deletions

@ -121,11 +121,7 @@ bool Process::attach()
// kill (SIGSTOP) // kill (SIGSTOP)
status = kill(my_handle,SIGSTOP); status = kill(my_handle,SIGSTOP);
//cout << "sent SIGSTOP" << endl; //cout << "sent SIGSTOP" << endl;
if(status != -1) if(status == -1)
{
break;
}
else
{ {
perror("kill(SIGSTOP)"); perror("kill(SIGSTOP)");
return false; return false;