-Fix unbalanced parentheses in last checkin

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-07-30 14:58:49 +00:00
parent 53e53629fa
commit 6f231ccd9c

View File

@ -147,7 +147,7 @@ sub get_multiple_paths_by_url {
foreach (@volobjs) {
if ($_->get_name() =~ /^$node\.([^\.]*)\.([^\.]*)$/) {
$paths{$_->get_path()} = {device=>$1,format=>$2};
} elsif (($_->get_name() =~ /^$node\.([^\.]*)$/) {
} elsif ($_->get_name() =~ /^$node\.([^\.]*)$/) {
$paths{$_->get_path()} = {device=>$1,format=>'raw'};
#this requires any current user of qcow2 to migrate, unfortunate to escape
#a vulnerability where raw user could write malicious qcow2 to header