diff options
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r-- | perl-install/run_program.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm index a50f31f0a..9d93fd315 100644 --- a/perl-install/run_program.pm +++ b/perl-install/run_program.pm @@ -20,7 +20,7 @@ sub rooted_get_stdout { my ($root, $name, @args) = @_; my @r; rooted($root, $name, '>', \@r, @args) or return; - @r; + wantarray ? @r : join('', @r); } sub run { rooted('', @_) } |