Skip to add root relative information into CFM merge files

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@17005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
asirxing 2013-07-22 05:51:46 +00:00
parent f9533a6843
commit 487daef0d6

View File

@ -191,7 +191,12 @@ sub updateUserInfo {
{
for my $record (@diff)
{
print $fp "$record\n";
# skip to add ROOT relative records into MERGE file
if ($record =~ /^root/)
{
next;
}
print $fp "$record\n";
}
}
close ($fp);