summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 5e12cb563..4b96856eb 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -131,7 +131,7 @@ foreach my $hw_class (@harddrake::data::tree) {
next if $is_globetrotter && !$hw_class->{automatic};
next unless $configurator_pool[0];
- if (!-x first(split /\s+/, $configurator_pool[0])) {
+ if (ref($configurator) ne 'CODE' && !-x first(split /\s+/, $configurator_pool[0])) {
log::explanations(qw(skip $Ident configuration since "$configurator" isn't executable));
next;
}