summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 231606d80..90a0266ca 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -135,7 +135,13 @@ foreach my $hw_class (@harddrake::data::tree) {
foreach my $configurator (@configurator_pool) {
if (fork()) {
wait();
- } else { exec("$configurator 2>/dev/null") or die "$configurator missing\n" }
+ } else {
+ exec("$configurator 2>/dev/null") or do {
+ log::explanations(qw(cannot run "$configurator"));
+ require POSIX;
+ POSIX::_exit();
+ };
+ }
}
}
if (!$hw_class->{automatic}) {