Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't report environment passwords etc.

  • Loading branch information...
commit 2a29d55b4348c9d0b7a3bd4871ad39be0d0461cf 1 parent f449cdc
@adunstan adunstan authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 run_build.pl
View
4 run_build.pl
@@ -56,7 +56,9 @@ BEGIN
$orig_env = {};
while (my ($k,$v) = each %ENV)
{
- $orig_env->{$k} = $v;
+ # suppress reporting the value for a few things that might be
+ # sensitive
+ $orig_env->{$k} = ($k =~ /PASS|PW|SSH/ ? 'xxxxxxxx' : $v);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.