From 45a4d4d7998e8b05897167483e827786644f9836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 1 Nov 2009 10:57:31 +0000 Subject: [PATCH] voodoo --- library/DFProcess.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/library/DFProcess.cpp b/library/DFProcess.cpp index 7d21c4f95..f638eac41 100644 --- a/library/DFProcess.cpp +++ b/library/DFProcess.cpp @@ -121,11 +121,7 @@ bool Process::attach() // kill (SIGSTOP) status = kill(my_handle,SIGSTOP); //cout << "sent SIGSTOP" << endl; - if(status != -1) - { - break; - } - else + if(status == -1) { perror("kill(SIGSTOP)"); return false;