[LON-CAPA-cvs] cvs: loncom / lond

raeburn raeburn at source.lon-capa.org
Thu Nov 20 22:01:37 EST 2025


raeburn		Fri Nov 21 03:01:37 2025 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - Fix typo and a few indents in 1.586.
  
  
Index: loncom/lond
diff -u loncom/lond:1.586 loncom/lond:1.587
--- loncom/lond:1.586	Thu Nov 20 15:52:26 2025
+++ loncom/lond	Fri Nov 21 03:01:37 2025
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.586 2025/11/20 15:52:26 raeburn Exp $
+# $Id: lond,v 1.587 2025/11/21 03:01:37 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -65,7 +65,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.586 $'; #' stupid emacs
+my $VERSION='$Revision: 1.587 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -7659,7 +7659,7 @@
 
 if (-e $pidfile) {
    my $lfh;
-   if (IO::File->new("$pidfile")) {
+   if ($lfh=IO::File->new("$pidfile")) {
        my $pide=<$lfh>;
        chomp($pide);
        $lfh->close;
@@ -7966,7 +7966,7 @@
 	        .$status."\t".$lastlog."\t $keymode\n";
 	    flock(LOG,LOCK_UN);
 	    close(LOG);
-        }
+	}
     }
     &status("Finished logging");
 }
@@ -7980,7 +7980,7 @@
         print $fh "LOND status $local - parent $$\n\n";
         if (opendir(DIR,"$docdir/lon-status/londchld")) {
             while (my $filename=readdir(DIR)) {
-               unlink("$docdir/lon-status/londchld/$filename");
+                unlink("$docdir/lon-status/londchld/$filename");
             }
             closedir(DIR);
         }




More information about the LON-CAPA-cvs mailing list