diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-20 23:19:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-20 23:19:07 +0000 |
commit | f727683265c79b05812173831a8f3a557292f249 (patch) | |
tree | 830d49124b08b6fca711f0fd953bed8dd6dbff52 /perl-install/standalone | |
parent | 014f6f66978f7ddd096e5b1b9cbf50a2adb9f3be (diff) | |
download | drakx-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-x | perl-install/standalone/service_harddrake | 8 |
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}) { |