Check for NIM resources correctly.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-06-02 16:41:17 +00:00
parent e8378aea9d
commit e8e658b685

View File

@ -4308,8 +4308,8 @@ sub doSNcopy
# keep track if spot/lpp_source has already been backed up
@::resbacked=();
my @nimresources;
foreach my $snkey (keys %$sn) {
my @nimresources;
if (!&is_me($snkey) ) {
# running on the management node so
@ -5590,6 +5590,13 @@ sub rmdsklsnode
# - just set global for now
$::callback=$callback;
if (defined(@{$::args})) {
@ARGV = @{$::args};
} else {
&rmdsklsnode_usage($callback);
return 2;
}
my $Sname = &myxCATname();
chomp $Sname;