[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #17135] ps's return value
From: |
Thomas Schwinge |
Subject: |
[bug #17135] ps's return value |
Date: |
Mon, 17 Jul 2006 12:03:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4 |
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> mbanck@beethoven:~$ ps -p 23
11:04 < azeem> ps: No applicable processes
11:04 < azeem> mbanck@beethoven:~$ 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 #17135] ps's return value,
Thomas Schwinge <=