summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grijp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grijp.c b/src/grijp.c
index d94cba8..add2806 100644
--- a/src/grijp.c
+++ b/src/grijp.c
@@ -176,6 +176,7 @@ static int process(char *fname, bool isstdin) {
anyMatch = true;
print_match(fname, line);
if (list) goto done;
+ break;
}
}
}