summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-07-30 09:46:29 +0000
committerkib <kib@FreeBSD.org>2016-07-30 09:46:29 +0000
commitf639e0c901c0d21e9064e2d109f118b18994727f (patch)
treef865d345d182e3416f81cc1188b32ea23b01ec02 /bin/ps
parentfece0ae41ca3913ce8d420b76b9de9a6f268ce95 (diff)
downloadFreeBSD-src-f639e0c901c0d21e9064e2d109f118b18994727f.zip
FreeBSD-src-f639e0c901c0d21e9064e2d109f118b18994727f.tar.gz
MFC r303213:
Add missed required call to xo_finish() when only header is printed. Approved by: re (gjb)
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 70b6db3..8db87c9 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -612,6 +612,7 @@ main(int argc, char *argv[])
if (nkept == 0) {
printheader();
+ xo_finish();
exit(1);
}
OpenPOWER on IntegriCloud