From 594c3df011b8511dd8e47be37d76b91d3f47ff98 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 7 Mar 2012 15:16:58 +0000 Subject: [PATCH] Fix problem where single-wide blades 'after' double-wide blades are reported incorrectly in various commands git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 9f4fdc356..b1dbb6218 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -3134,6 +3134,8 @@ sub bladecmd { if ($slot =~ /-/) { $slot =~ s/-(.*)//; @moreslots = ($slot+1..$1); + } else { + @moreslots = (); } my $user = shift; my $pass = shift;