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

foxr lon-capa-cvs@mail.lon-capa.org
Wed, 02 Jul 2003 01:28:12 -0000


foxr		Tue Jul  1 21:28:12 2003 EDT

  Modified files:              
    /loncom	lonc 
  Log:
  In HUPSMAN - execdir was being inquired after first use... move it around
  so that execdir is defined prior to use.
  
  
  
Index: loncom/lonc
diff -u loncom/lonc:1.49 loncom/lonc:1.50
--- loncom/lonc:1.49	Thu Mar 27 18:00:28 2003
+++ loncom/lonc	Tue Jul  1 21:28:12 2003
@@ -5,7 +5,7 @@
 # provides persistent TCP connections to the other servers in the network
 # through multiplexed domain sockets
 #
-# $Id: lonc,v 1.49 2003/03/27 23:00:28 albertel Exp $
+# $Id: lonc,v 1.50 2003/07/02 01:28:12 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -867,8 +867,8 @@
     local($SIG{CHLD}) = 'IGNORE';  # we're going to kill our children
     &hangup();
     &logthis("<font color=red>CRITICAL: Restarting</font>");
-    unlink("$execdir/logs/lonc.pid");
     my $execdir=$perlvar{'lonDaemons'};
+    unlink("$execdir/logs/lonc.pid");
     exec("$execdir/lonc");         # here we go again
 }