summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/run_program.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 813c8de3e..26b73a2d0 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -50,7 +50,7 @@ sub raw {
my $args = $options->{sensitive_arguments} ? '<hidden arguments>' : join(' ', @args);
log::explanations("running: $real_name $args" . ($root ? " with root $root" : ""));
- return 1 if $root && $<;
+ return if $root && $<;
$root ? ($root .= '/') : ($root = '');