From f727683265c79b05812173831a8f3a557292f249 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 20 Jun 2004 23:19:07 +0000 Subject: log error when we cannot run the config tool --- perl-install/standalone/service_harddrake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install') 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}) { -- cgit v1.2.1