From bbd40ec2bcd11142b8de273a9c009fe5d2d248f2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 24 Jul 2006 20:59:58 +0000 Subject: 2006-07-24 Ben Asselstine [bug #17135] * psout.c (psout): Exit returning `1' if there aren't any applicable processes. --- utils/ChangeLog | 6 ++++++ utils/psout.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/ChangeLog b/utils/ChangeLog index deaaaefa..8b74e8b9 100644 --- a/utils/ChangeLog +++ b/utils/ChangeLog @@ -1,3 +1,9 @@ +2006-07-24 Ben Asselstine + + [bug #17135] + * psout.c (psout): Exit returning `1' if there aren't any applicable + processes. + 2006-03-15 Thomas Schwinge * ps.c (current_tty_name): Don't declare as static. diff --git a/utils/psout.c b/utils/psout.c index d3bde0cf..93667b28 100644 --- a/utils/psout.c +++ b/utils/psout.c @@ -106,7 +106,7 @@ psout (struct proc_stat_list *procs, ps_stream_newline (output); } else - error (0, 0, "No applicable processes"); + error (1, 0, "No applicable processes"); } if (output_width) -- cgit v1.2.3