Only emit the trailing new line added in r322613 when not operating in quiet

mode.

Reported by:	pho
MFC after:	1 week
X-MFC-with:	r322210
This commit is contained in:
lstewart 2017-08-24 08:20:23 +00:00
parent d2fe78f981
commit 8e8b325625

View File

@ -568,7 +568,7 @@ main(int argc, char **argv)
continue;
rv |= (*action)(kp);
}
if (rv && pgrep)
if (rv && pgrep && !quiet)
putchar('\n');
if (!did_action && !pgrep && longfmt)
fprintf(stderr,