mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
build_library/check_root: Print a target of the dangling symlink
This commit is contained in:
parent
375ffa6579
commit
460218d1e4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user