From 9287e1a11c6e18983c61aea4e8c806ee4c0b2d5d Mon Sep 17 00:00:00 2001 From: mellor Date: Tue, 11 Jan 2011 20:10:38 +0000 Subject: [PATCH] rollupdate bug -- fixed undefined ref when using nodegroup_mutex and no mutex exists git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/rollupdate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/rollupdate.pm b/xCAT-server/lib/xcat/plugins/rollupdate.pm index b4a7a3e73..f98c9a6d3 100644 --- a/xCAT-server/lib/xcat/plugins/rollupdate.pm +++ b/xCAT-server/lib/xcat/plugins/rollupdate.pm @@ -1607,7 +1607,7 @@ mxnode_loop: foreach my $mxnode ( xCAT::NodeRange::noderange($mxnodegroup) ) { } # end mxnode_loop if ($mxpi == 1) { # only one updategroup in this mutex, not valid -- ignore it - undef $::MUTEX[$mxindex]; + delete $::MUTEX[$mxindex]; } elsif ( $mxpi > 1 ) { $::MUTEX_COUNT[$mxindex] = $mx_count; $mxindex++;