From 635385d736310a1775d9bc1fcb0e18bb2286bf8e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Apr 2013 16:56:29 +0000 Subject: simplify --- perl-install/fs/dmraid.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/fs') 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() { -- cgit v1.2.1