diff options
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r-- | perl-install/run_program.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm index e431bf8f8..c396df49f 100644 --- a/perl-install/run_program.pm +++ b/perl-install/run_program.pm @@ -47,7 +47,8 @@ sub raw { ($stdout_mode, $stdout_raw, @args) = @args if $args[0] =~ /^>>?$/; ($stderr_mode, $stderr_raw, @args) = @args if $args[0] =~ /^2>>?$/; - log::l("running: $real_name @args" . ($root ? " with root $root" : "")); + my $args = $options->{sensitive_arguments} ? '<hidden arguments>' : join(' ', @args); + log::l("running: $real_name$args" . ($root ? " with root $root" : "")); return 1 if $root && $<; |