From 6f231ccd9c39c425fcc39cda3b0a2a433bfc5c8c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 30 Jul 2010 14:58:49 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index b6121f75e..4e84eb5af 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -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