2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-08 03:08:27 +00:00

Fix xdcpmerge when no common

The fix for superset broke the null intersection case.
The null intersection case becomes a simple append, so
add as an else clause.
This commit is contained in:
Jarrod Johnson
2018-03-08 10:12:08 -05:00
parent 8b79cf8535
commit ee54a2cc7b

View File

@@ -96,6 +96,8 @@ for i in $*; do
if [ -a "$mergefile.nodups" ]; then
cat $mergefile.nodups >> $curfile
rm $mergefile.nodups
else # no set intersection, make it a simple append
cat $filebackup $mergefile > $curfile
fi
# now cleanup