Commit 53f7c14d authored by Leigh Stoller's avatar Leigh Stoller

Bug fix; make sure the name of mailman list is correct when removing

the whole project.
parent 302e1855
......@@ -215,10 +215,12 @@ if (system("$GROUPDEL $unix_name")) {
}
if ($MAILMANSUPPORT && !$ELABINELAB) {
my $listname = ($pid eq $gid ? "${pid}-users" : "${pid}-${gid}-users");
# For perl
$EUID = $UID;
system("$DELMMLIST -a ${pid}-${gid}-users") == 0 or
fatal("$DELMMLIST -a ${pid}-${gid}-users failed!");
system("$DELMMLIST -a $listname") == 0 or
fatal("$DELMMLIST -a $listname failed!");
$EUID = 0;
}
......
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