summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/procctl.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/procctl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/procctl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/procctl.cpp b/noncore/apps/opie-console/procctl.cpp
index ff6bea8..b0b6846 100644
--- a/noncore/apps/opie-console/procctl.cpp
+++ b/noncore/apps/opie-console/procctl.cpp
@@ -68,12 +68,13 @@ int ProcCtl::status(pid_t pid )const{
68 return con->status; 68 return con->status;
69 con = con->prev; 69 con = con->prev;
70 } 70 }
71 return -1; 71 return -1;
72} 72}
73void ProcCtl::signal_handler(int) { 73void ProcCtl::signal_handler(int) {
74 qWarning("signal handler");
74 int status; 75 int status;
75 signal( SIGCHLD, signal_handler ); 76 signal( SIGCHLD, signal_handler );
76 pid_t pi = waitpid( -1, &status, WNOHANG ); 77 pid_t pi = waitpid( -1, &status, WNOHANG );
77 78
78 /* 79 /*
79 * find the container for pid 80 * find the container for pid