mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-07 18:58:14 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user