aboutsummaryrefslogtreecommitdiff
path: root/src/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp
index 55824ae..a98936e 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -388,7 +388,7 @@ void Bu::Process::select( bool &bStdOut, bool &bStdErr )
388bool Bu::Process::isRunning() 388bool Bu::Process::isRunning()
389{ 389{
390 if( waitpid( iPid, NULL, WNOHANG ) == iPid ) 390 if( waitpid( iPid, NULL, WNOHANG ) == iPid )
391 close(); 391 checkClose();
392 return iPid != 0; 392 return iPid != 0;
393} 393}
394 394