Commit a21352d2 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Remove some debugging code.

parent 45be13a8
......@@ -92,11 +92,11 @@ sub AuditStart($;$$)
# "what was done" message to the audit list, and CC it to tbops if it
# exits with an error. But the log is the responsibility of the user.
#
# if (!$daemon && isatty(STDIN)) {
# $auditing = 1;
# $ENV{'TBAUDITON'} = "$SCRIPTNAME:$USERNAME";
# return;
# }
if (!$daemon && isatty(STDIN)) {
$auditing = 1;
$ENV{'TBAUDITON'} = "$SCRIPTNAME:$USERNAME";
return;
}
if (!defined($logname)) {
$logfile = TBMakeLogname("$SCRIPTNAME");
......
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