From 6585938aafb4b1dd2b8cbc4b412fe24b1c877a88 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Fri, 29 Sep 2017 16:22:39 +0200 Subject: [PATCH] fix volume tsm mode --- apps/backup/tsm/local/mode/volumes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backup/tsm/local/mode/volumes.pm b/apps/backup/tsm/local/mode/volumes.pm index 3dd5d8c3d..c01a90bfd 100644 --- a/apps/backup/tsm/local/mode/volumes.pm +++ b/apps/backup/tsm/local/mode/volumes.pm @@ -135,7 +135,7 @@ sub manage_selection { $self->{volumes} = {}; $self->{global} = { total => 0, online => 0, offline => 0, empty => 0, pending => 0, filling => 0, full => 0 }; - while ($response =~ /^(.*?),(.*?),(.*?),(.*?),(.*?)$/mg) { + while ($response =~ /^(.*?),(.*?),(.*?),(.*?)$/mg) { my ($volume_name, $stgpool, $status, $pct_utilized) = ($1, $2, $3, $4); if (defined($self->{option_results}->{filter_volume}) && $self->{option_results}->{filter_volume} ne '' &&