Fix single match output (#12920)
This commit is contained in:
parent
18e2ea787e
commit
f9f55a23bb
1 changed files with 2 additions and 0 deletions
|
|
@ -658,6 +658,8 @@ else:
|
||||||
walker(rep, f, counter, errors)
|
walker(rep, f, counter, errors)
|
||||||
if errors != 0:
|
if errors != 0:
|
||||||
printError $errors & " errors"
|
printError $errors & " errors"
|
||||||
|
if counter == 1:
|
||||||
|
stdout.write("\n")
|
||||||
stdout.write($counter & " matches\n")
|
stdout.write($counter & " matches\n")
|
||||||
if errors != 0:
|
if errors != 0:
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue