Commit f1785977 authored by Leigh Stoller's avatar Leigh Stoller

Skip subnode stuff when the node is a sharedhost.

parent 80b4858c
......@@ -742,7 +742,8 @@ foreach $node (keys(%nodes)) {
if ($subnode_of{$node}) {
# We don't want to include subnodes unless their parent node is going
# to be in the ptop file too
if (!$nodes{$subnode_of{$node}}) {
if (!$nodes{$subnode_of{$node}} ||
$sharing_mode{$subnode_of{$node}}) {
# In fact, nuke it from %nodes so that we don't include its links,
# either
delete $nodes{$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