show symbolic link in rootnode dir

This commit is contained in:
Amber
2024-02-07 14:42:48 +01:00
parent c7b65b9d78
commit 307bc5a15f
2 changed files with 15 additions and 5 deletions

View File

@ -43,7 +43,7 @@ def produce_treeline(prec_seps, lsep):
item_name = item['name']
tomount = sep + item_name
if item.get('type') == 'l' and item.get('target', ''):
if item.get('is_symlink') and item.get('target', ''):
tomount += ' -> %s' % ((item['target'],))
# if item.get('type') == 'd':