build_library/check_root: Print a target of the dangling symlink

This commit is contained in:
Krzesimir Nowak 2022-11-11 11:47:44 +01:00
parent 375ffa6579
commit 460218d1e4

View File

@ -301,7 +301,7 @@ def check_symlink():
if os.path.islink(path) and not os.path.exists(path):
ok = False
error("broken link: %s", path)
error("broken link: %s -> %s", path, os.readlink(path))
return ok