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:
Lawrence Stewart 2017-08-24 08:20:23 +00:00
parent 8ac4c959ab
commit cf182be5e2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322831

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,