diff options
-rw-r--r-- | utils/ChangeLog | 6 | ||||
-rw-r--r-- | utils/psout.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <benasselstine@canada.com> + + [bug #17135] + * psout.c (psout): Exit returning `1' if there aren't any applicable + processes. + 2006-03-15 Thomas Schwinge <tschwinge@gnu.org> * 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) |