diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-27 16:45:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-27 16:45:20 +0000 |
commit | 6acd785c65aba17fba1b2f386b2ff0236c1ffa2c (patch) | |
tree | 9a1363d259d84defeb2552493975c7a7d6d80ee2 /perl-install | |
parent | f5ab1b0a610d4fac99fd86a3faec1bcd1aaeaeeb (diff) | |
download | drakx-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar drakx-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar.gz drakx-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar.bz2 drakx-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar.xz drakx-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.zip |
handle configurators with options (eg: "diskdrake --removable=scd0")
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index d213a8e96..9a6a26e34 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -53,7 +53,7 @@ foreach (@harddrake::data::tree) { $msg .= "- " . harddrake::data::custom_id($ID{$_}, $item) . " was added\n" foreach @added; @added || @was_removed or next; harddrake::data::set_removable_configurator($Ident, first(values %$oldconfig, values %ID), \$configurator); - next unless -x $configurator; + next unless -x first(split /\s+/, $configurator); my ($pid, $no); $SIG{ALRM} = sub { $no = 1; kill 15, $pid }; unless ($pid = fork()) { |