Commit 83464f04 authored by Carsten Emde's avatar Carsten Emde
Browse files

If directory to scan is root ('/'), then be consistent and do not remove

the leading directory delimiter
parent c1fa2f69
......@@ -488,7 +488,10 @@ def main(argv):
if args.verbose:
relfullfilename = fullfilename[topdirlength:]
if dirtoscan == '/':
relfullfilename = fullfilename
relfullfilename = fullfilename[topdirlength:]
if os.path.islink(fullfilename):
# keep checking whether or not a symlink can be resolved
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