findleaves: Fix typo for --dir argument

Change-Id: I9b78c304d27dd652ef49f72fa6ad9260e4ce605b
This commit is contained in:
Paul Keith 2018-08-16 02:28:39 +02:00
parent 78f95fa7ef
commit 8368d23d47

View file

@ -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: