Permalink
Browse files

Don't report environment passwords etc.

  • Loading branch information...
1 parent f449cdc commit 2a29d55b4348c9d0b7a3bd4871ad39be0d0461cf @adunstan adunstan committed Sep 25, 2012
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);
}
}

0 comments on commit 2a29d55

Please sign in to comment.