aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLawrence Stewart <lstewart@FreeBSD.org>2017-08-17 06:36:21 +0000
committerLawrence Stewart <lstewart@FreeBSD.org>2017-08-17 06:36:21 +0000
commit1e781c6f96614a362924113f91d28bd32dc60c7e (patch)
tree613481c2591a932fae39c2221d4ca7df99e961b0 /bin
parent35d87c7e96bf450a49b7845168f9a47cc9af1015 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/pkill/pkill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/pkill/pkill.c b/bin/pkill/pkill.c
index f65767a8f386..380dc29e1f04 100644
--- a/bin/pkill/pkill.c
+++ b/bin/pkill/pkill.c
@@ -568,6 +568,8 @@ main(int argc, char **argv)
continue;
rv |= (*action)(kp);
}
+ if (rv && pgrep)
+ putchar('\n');
if (!did_action && !pgrep && longfmt)
fprintf(stderr,
"No matching processes belonging to you were found\n");