[LON-CAPA-cvs] cvs: loncom / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 09 Mar 2004 21:05:13 -0000
albertel Tue Mar 9 16:05:13 2004 EDT
Modified files:
/loncom lond
Log:
- a pid of 0 is not a valid child, ignore it
Index: loncom/lond
diff -u loncom/lond:1.182 loncom/lond:1.183
--- loncom/lond:1.182 Tue Mar 9 11:12:26 2004
+++ loncom/lond Tue Mar 9 16:05:13 2004
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.182 2004/03/09 16:12:26 raeburn Exp $
+# $Id: lond,v 1.183 2004/03/09 21:05:13 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -53,7 +53,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.182 $'; #' stupid emacs
+my $VERSION='$Revision: 1.183 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid;
my $currentdomainid;
@@ -822,7 +822,7 @@
if (defined($children{$pid})) {
&logthis("Child $pid died");
delete($children{$pid});
- } else {
+ } elsif ($pid > 0) {
&logthis("Unknown Child $pid died");
}
} while ( $pid > 0 );