summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-07-24 20:59:58 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-07-24 20:59:58 +0000
commitbbd40ec2bcd11142b8de273a9c009fe5d2d248f2 (patch)
tree9188078f3a2777fad639d74072051903087b2ba7
parent48a0321569769612f114b65b0df51d4fe3072739 (diff)
2006-07-24 Ben Asselstine <benasselstine@canada.com>
[bug #17135] * psout.c (psout): Exit returning `1' if there aren't any applicable processes.
-rw-r--r--utils/ChangeLog6
-rw-r--r--utils/psout.c2
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)