diff options
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 26da102b7..df59fb02e 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -17,7 +17,7 @@ sub max_nb() { 31 } sub check_prog { my ($in) = @_; - whereis_binary('mdadm') || $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm'); + $::prefix ? whereis_binary('mdadm') : $in->do_pkgs->ensure_binary_is_installed('mdadm', 'mdadm'); } sub new { |