URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17135>
Summary: ps's return value Project: The GNU Hurd Submitted by: tschwinge Submitted on: Monday 07/17/06 at 12:03 Category: Hurd Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Reproducibility: None Size (loc): None Planned Release: None Effort: 0.00 _______________________________________________________ Details: 11:04 < azeem> hmm, ps returns a zero exit status if there is no applicable process for ps -p 11:04 < azeem> [EMAIL PROTECTED]:~$ ps -p 23 11:04 < azeem> ps: No applicable processes 11:04 < azeem> [EMAIL PROTECTED]:~$ echo $? 11:04 < azeem> 0 11:04 < azeem> Linux returns 1 in that case: 11:04 < azeem> castor~$ ps -p 24 11:04 < azeem> PID TTY TIME CMD 11:04 < azeem> castor~$ echo $? 11:04 < azeem> 1 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17135> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd