[Toybox] [PATCH] Basic success/failure return from pgrep/pkill.

enh enh at google.com
Sat Jun 4 09:34:03 PDT 2016


The man page says they also return 2 for syntax errors and 3 for "fatal
error: out of memory etc", but I don't know how to implement that and
don't need it (or have any reason to believe anyone needs it).

Bug: 29092208
---
 tests/pgrep.test |  4 ++++
 tests/pkill.test | 10 ++++++++--
 toys/posix/ps.c  |  8 +++++++-
 3 files changed, 19 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Basic-success-failure-return-from-pgrep-pkill.patch
Type: text/x-patch
Size: 2672 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160604/d0c06e30/attachment-0003.bin>


More information about the Toybox mailing list