changeset 2151:50739ef482f3

[project @ 1996-05-13 07:44:42 by jwe]
author jwe
date Mon, 13 May 1996 07:44:42 +0000
parents 2f1c9bfab251
children e9ee6418f62d
files src/sighandlers.cc
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/sighandlers.cc	Mon May 13 07:35:59 1996 +0000
+++ b/src/sighandlers.cc	Mon May 13 07:44:42 1996 +0000
@@ -149,9 +149,7 @@
   int status;
   pid_t pid = wait (&status);
 
-  if (pid < 0)
-    error ("sigchld_handler: internal error: wait failed");
-  else
+  if (pid > 0)
     {
       if (WIFEXITED (status) || WIFSIGNALLED (status))
 	{