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

Minor tweak; add interface to allow changing the saved argv so that

passwords can be wiped from the adit email messages.
parent 199d4441
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -11,7 +11,7 @@ use Exporter;
@ISA = "Exporter";
@EXPORT =
qw ( AuditStart AuditEnd AuditAbort AuditFork );
qw ( AuditStart AuditEnd AuditAbort AuditFork AuditSetARGV );
# After package decl.
use English;
......@@ -157,6 +157,15 @@ sub AuditEnd()
return 0;
}
#
# Overwrite our saved argv. Usefull when script contains something that
# should not go into a mail log.
#
sub AuditSetARGV(@)
{
@SAVEARGV = @_;
}
#
# Abort an Audit. Dump the log file and do not send email.
#
......
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