From 71ec72fa494851d2aba184d6b5e5d0688c3be967 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 11 Sep 2008 02:18:58 +0000 Subject: [PATCH] -Negative/zero slot ids have been used by some to indicate a management module, may not be the best way, but provide compatibility for those scenarios git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 9e4e8d133..7462d1ca6 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -687,7 +687,7 @@ sub vitals { my $tmp; - if ( defined $slot ) { #-- querying some blade + if ( defined $slot and $slot > 0) { #-- querying some blade if (grep /watt/,@vitems) { if ($slot < 8) {