fix defect 3555748
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
468644eee4
commit
b7e4a65913
@ -805,9 +805,10 @@ sub updatenode
|
||||
}
|
||||
}
|
||||
|
||||
# Check the existence of the synclist file
|
||||
foreach my $synclist (keys %syncfile_node)
|
||||
{
|
||||
if (%syncfile_node) { # there are files to sync defined
|
||||
# Check the existence of the synclist file
|
||||
foreach my $synclist (keys %syncfile_node)
|
||||
{
|
||||
if (!(-r $synclist))
|
||||
{
|
||||
my $rsp = {};
|
||||
@ -816,8 +817,7 @@ sub updatenode
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
if (%syncfile_node) { # there are files to sync defined
|
||||
}
|
||||
#Sync files to the target nodes
|
||||
foreach my $synclist (keys %syncfile_node)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user