Commit 8030b89f authored by Leigh Stoller's avatar Leigh Stoller

Minor debugging tweak; change $0 so ps gives the script name.

parent 227b0797
......@@ -105,6 +105,7 @@ sub TB_EVENTSERVER() { "@EVENTSERVER@" . "." . "@OURDOMAIN@"; }
# Untainted scriptname for email below.
if ($PROGRAM_NAME =~ /^([-\w\.\/]+)$/) {
$SCRIPTNAME = basename($1);
$PROGRAM_NAME = $SCRIPTNAME;
}
else {
$SCRIPTNAME = "Tainted";
......
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