Fix single match output (#12920)

This commit is contained in:
genotrance
2019-12-17 13:26:11 -06:00
committed by Andreas Rumpf
parent 18e2ea787e
commit f9f55a23bb

View File

@@ -658,6 +658,8 @@ else:
walker(rep, f, counter, errors)
if errors != 0:
printError $errors & " errors"
if counter == 1:
stdout.write("\n")
stdout.write($counter & " matches\n")
if errors != 0:
quit(1)