Commit 2472e72a authored by Mike Hibler's avatar Mike Hibler

Fix for CentOS. Liberalize an RE.

parent 11df2e55
......@@ -650,7 +650,7 @@ sub os_check_storage_element($$)
my $session;
@lines = `$ISCSI -m session 2>&1`;
foreach (@lines) {
if (/^tcp: \[(\d+)\].*$uuid$/) {
if (/^tcp: \[(\d+)\].*$uuid */) {
$session = $1;
last;
}
......@@ -1060,7 +1060,7 @@ sub os_create_storage_element($$$)
#
@lines = `$ISCSI -m session 2>&1`;
foreach (@lines) {
if (/^tcp: \[(\d+)\].*$uuid$/) {
if (/^tcp: \[(\d+)\].*$uuid */) {
$session = $1;
last;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment