summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-04 16:31:04 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-04 16:31:04 +0000
commitc503d6f3b8fda6b1956412f959e8d7816981c607 (patch)
treed43f4f23385729a73f29a3686f1ef22cf8c2c69d
parentc830c2b8ec3fa9bc709e2330355c4e786148167f (diff)
downloaddrakx-c503d6f3b8fda6b1956412f959e8d7816981c607.tar
drakx-c503d6f3b8fda6b1956412f959e8d7816981c607.tar.gz
drakx-c503d6f3b8fda6b1956412f959e8d7816981c607.tar.bz2
drakx-c503d6f3b8fda6b1956412f959e8d7816981c607.tar.xz
drakx-c503d6f3b8fda6b1956412f959e8d7816981c607.zip
(_raid_devices_raw) fix empty lines in debug outputs
as seen in attachment #3693 of mga#9467 for example
-rw-r--r--perl-install/fs/dmraid.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm
index 80ba3de39..0ce57bf09 100644
--- a/perl-install/fs/dmraid.pm
+++ b/perl-install/fs/dmraid.pm
@@ -44,6 +44,7 @@ sub _raid_devices_raw() {
log::l("_raid_devices_raw");
my %vgs;
my %pv2vg = map {
+ chomp();
log::l("got: $_");
my %l; @l{qw(name size stride level status subsets devs spares)} = split(':');
$vgs{$l{name}} = 1 if defined $l{spares};