summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/dmraid.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-04 16:56:29 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-04 16:56:29 +0000
commit39f66f8ef322e9892ce2801a9bca42b586ff2dff (patch)
tree997aaacad6b2995975b9e63a890f106030a99ea3 /perl-install/fs/dmraid.pm
parent63fc21d78e0699144ad0b7da8df6212a4609c233 (diff)
downloaddrakx-39f66f8ef322e9892ce2801a9bca42b586ff2dff.tar
drakx-39f66f8ef322e9892ce2801a9bca42b586ff2dff.tar.gz
drakx-39f66f8ef322e9892ce2801a9bca42b586ff2dff.tar.bz2
drakx-39f66f8ef322e9892ce2801a9bca42b586ff2dff.tar.xz
drakx-39f66f8ef322e9892ce2801a9bca42b586ff2dff.zip
simplify
Diffstat (limited to 'perl-install/fs/dmraid.pm')
-rw-r--r--perl-install/fs/dmraid.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm
index 0ce57bf09..892a85d0a 100644
--- a/perl-install/fs/dmraid.pm
+++ b/perl-install/fs/dmraid.pm
@@ -52,7 +52,7 @@ sub _raid_devices_raw() {
log::l("$2 => $1");
{ $2 => $1 }
}
- } call_dmraid('-d', '-s', '-c', '-c');
+ } call_dmraid(qw(-d -s -c -c));
map {
chomp;
log::l("got: $_");
@@ -62,7 +62,7 @@ sub _raid_devices_raw() {
$l{vg} = $pv2vg{$l{pv}};
}
if_(defined $l{size}, \%l);
- } call_dmraid('-r', '-c', '-c');
+ } call_dmraid(qw(-r -c -c));
}
sub _raid_devices() {