Commit b7e4a659 authored by lissav's avatar lissav
Browse files

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
parent 468644ee
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment