--- loncom/lond 2023/07/10 00:54:42 1.489.2.43.2.9 +++ loncom/lond 2023/12/29 20:10:17 1.489.2.43.2.10 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.489.2.43.2.9 2023/07/10 00:54:42 raeburn Exp $ +# $Id: lond,v 1.489.2.43.2.10 2023/12/29 20:10:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -63,7 +63,7 @@ my $DEBUG = 0; # Non zero to ena my $status=''; my $lastlog=''; -my $VERSION='$Revision: 1.489.2.43.2.9 $'; #' stupid emacs +my $VERSION='$Revision: 1.489.2.43.2.10 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -8284,6 +8284,9 @@ sub currentversion { if (-e $ulsdir) { if(-d $ulsdir) { if (opendir(LSDIR,$ulsdir)) { + if (-e $fname) { + $version=0; + } my $ulsfn; while ($ulsfn=readdir(LSDIR)) { # see if this is a regular file (ignore links produced earlier)