Commit b44ddf3f authored by Leigh Stoller's avatar Leigh Stoller

Bug Fix: Do not create a mailman list for nonlocal projects.

parent 6a2dd971
......@@ -236,6 +236,7 @@ sub Create($$$$)
{
my ($class, $pid, $leader, $argref) = @_;
my $unix_gname = $pid;
my $nonlocal = (exists($argref->{'nonlocal_id'}) ? 1 : 0);
#
# The array of inserts is assumed to be safe already. Generate
......@@ -313,7 +314,7 @@ sub Create($$$$)
#
# Now create the per-project Admin List
#
if ($MAILMANSUPPORT) {
if ($MAILMANSUPPORT && !$nonlocal) {
my $res = system("$ADDPROJADMINLIST $pid");
if ($res != 0) {
SENDMAIL($TBOPS, "Addprojadminlist failed!",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment