Commit b08c6b32 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Mail the NS file in the email message. Good for tracking and for

fixing bugs.
parent be08d6db
......@@ -273,6 +273,16 @@ if (open(IN, "$logname")) {
}
close(IN);
}
if (open(IN, "$nsfile")) {
print MAIL "\n\n---------\n\n";
print MAIL "Here is the NS file\n\n";
while (<IN>) {
print MAIL "$_";
}
close(IN);
}
close(MAIL);
unlink("$logname");
......@@ -322,6 +332,15 @@ sub fatal()
print MAIL $mesg;
if (open(IN, "$nsfile")) {
print MAIL "\n\n---------\n\n";
while (<IN>) {
print MAIL "$_";
}
close(IN);
}
if (open(IN, "$logname")) {
print MAIL "\n\n---------\n\n";
......
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