findleaves: Fix typo for --dir argument
Change-Id: I9b78c304d27dd652ef49f72fa6ad9260e4ce605b
This commit is contained in:
parent
78f95fa7ef
commit
8368d23d47
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def main(argv):
|
|||
prune.append(p)
|
||||
elif arg.startswith("--dir="):
|
||||
d = arg[len("--dir="):]
|
||||
if len(p) == 0:
|
||||
if len(d) == 0:
|
||||
usage()
|
||||
dirlist.append(d)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue