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 2eb9e8a6f..a0a966efa 100644 --- a/perl-install/run_program.pm +++ b/perl-install/run_program.pm @@ -25,7 +25,7 @@ sub rooted { return 1 if $root && $<; $root ? $root .= '/' : ($root = ''); - install_any::check_prog (ref $name ? $name->[0] : $name, $root) if $::isInstall; + install_any::check_prog (ref $name ? $name->[0] : $name) if !$root && $::isInstall; if (my $pid = fork) { waitpid $pid, 0; |