Commit 4b88e4e7 authored by Timothy Stack's avatar Timothy Stack

send nfstrace mail to tblogs

parent 7d736cb8
......@@ -33,7 +33,7 @@ sub usage()
#
my $TBROOT = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@";
my $TBAUDIT = "@TBAUDITEMAIL@";
my $TBLOGS = "@TBLOGSEMAIL@";
my $TESTMODE = @TESTMODE@;
my $DISABLE_EVENTS = "@DISABLE_EVENT_SCHED@";
my $piper = "$TBROOT/sbin/locpiper";
......@@ -400,7 +400,7 @@ sub doSwapout($) {
my ($dbuid, $uname, $umail);
if (UNIX2DBUID($UID, \$dbuid) &&
UserDBInfo($dbuid, \$uname, \$umail)) {
SENDMAIL("$TBAUDIT",
SENDMAIL("$TBLOGS",
"Files accessed by $pid/$eid via NFS",
`nfstrace get $pid $eid`,
"$uname <$umail>");
......
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