[LON-CAPA-cvs] cvs: loncom(version_2_11_X) / loncron

raeburn raeburn at source.lon-capa.org
Mon Jul 1 08:02:42 EDT 2024


raeburn		Mon Jul  1 12:02:42 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom	loncron 
  Log:
  - For 2.11
    Backport 1.129
  
  
Index: loncom/loncron
diff -u loncom/loncron:1.103.2.12 loncom/loncron:1.103.2.13
--- loncom/loncron:1.103.2.12	Tue Feb  2 21:27:34 2021
+++ loncom/loncron	Mon Jul  1 12:02:42 2024
@@ -2,7 +2,7 @@
 
 # Housekeeping program, started by cron, loncontrol and loncron.pl
 #
-# $Id: loncron,v 1.103.2.12 2021/02/02 21:27:34 raeburn Exp $
+# $Id: loncron,v 1.103.2.13 2024/07/01 12:02:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1367,7 +1367,7 @@
     my $wwwid=getpwnam('www');
     if ($wwwid!=$<) {
 	print("User ID mismatch. This program must be run as user 'www'.\n");
-	my $emailto="$perlvar{'lonAdmEMail'},$perlvar{'lonSysEMail'}";
+	my $emailto="$perlvar{'lonAdmEMail'} $perlvar{'lonSysEMail'}";
 	my $subj="LON: $perlvar{'lonHostID'} User ID mismatch";
 	system("echo 'User ID mismatch. loncron must be run as user www.' |".
                " mail -s '$subj' $emailto > /dev/null");




More information about the LON-CAPA-cvs mailing list