Diff for /loncom/lonmaxima between versions 1.43 and 1.45

version 1.43, 2018/10/29 02:57:30 version 1.45, 2024/06/22 14:29:36
Line 154  $SIG{USR1} = \&child_announce_death; Line 154  $SIG{USR1} = \&child_announce_death;
 # ----------------------------- Make sure this process is running from user=www  # ----------------------------- Make sure this process is running from user=www
 my $wwwid=getpwnam('www');  my $wwwid=getpwnam('www');
 if ($wwwid!=$<) {  if ($wwwid!=$<) {
     my $emailto="$perlvar{'lonAdmEMail'},$perlvar{'lonSysEMail'}";      my $emailto="$perlvar{'lonAdmEMail'} $perlvar{'lonSysEMail'}";
     my $subj="LON: User ID mismatch";      my $subj="LON: User ID mismatch";
     system("echo 'User ID mismatch.  lonmaxima must be run as user www.' |".      system("echo 'User ID mismatch.  lonmaxima must be run as user www.' |".
            " mailto -s '$subj' $emailto > /dev/null");             " mail -s '$subj' $emailto > /dev/null");
     exit 1;      exit 1;
 }  }
     

Removed from v.1.43  
changed lines
  Added in v.1.45


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>