mthr: don't try to print a parent for toplevel messages

This commit is contained in:
Christian Neukirchen 2016-07-23 01:43:47 +02:00
parent 36b1dbd0d1
commit 95bd63e7b0

View File

@ -33,8 +33,9 @@ mode==2 && ind <= dep { sel = 0 }
}
mode==2 && sel { print }
mode==3 && sel {
print parents[ind-1]
sel = 0
if (ind>0)
print parents[ind-1]
sel = 0
}
mode==3 {parents[ind] = $0 }
' - $(mseq $@)