summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-27 16:45:20 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-27 16:45:20 +0000
commit6acd785c65aba17fba1b2f386b2ff0236c1ffa2c (patch)
tree9a1363d259d84defeb2552493975c7a7d6d80ee2 /perl-install/standalone/service_harddrake
parentf5ab1b0a610d4fac99fd86a3faec1bcd1aaeaeeb (diff)
downloaddrakx-backup-do-not-use-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar
drakx-backup-do-not-use-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar.gz
drakx-backup-do-not-use-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar.bz2
drakx-backup-do-not-use-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.tar.xz
drakx-backup-do-not-use-6acd785c65aba17fba1b2f386b2ff0236c1ffa2c.zip
handle configurators with options (eg: "diskdrake --removable=scd0")
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake2
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()) {