summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:19:07 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:19:07 +0000
commitf727683265c79b05812173831a8f3a557292f249 (patch)
tree830d49124b08b6fca711f0fd953bed8dd6dbff52 /perl-install/standalone
parent014f6f66978f7ddd096e5b1b9cbf50a2adb9f3be (diff)
downloaddrakx-backup-do-not-use-f727683265c79b05812173831a8f3a557292f249.tar
drakx-backup-do-not-use-f727683265c79b05812173831a8f3a557292f249.tar.gz
drakx-backup-do-not-use-f727683265c79b05812173831a8f3a557292f249.tar.bz2
drakx-backup-do-not-use-f727683265c79b05812173831a8f3a557292f249.tar.xz
drakx-backup-do-not-use-f727683265c79b05812173831a8f3a557292f249.zip
log error when we cannot run the config tool
Diffstat (limited to 'perl-install/standalone')
-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}) {