This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/17092] New: nscd does not correctly return child exit status
- From: "arjun.is at lostca dot se" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 25 Jun 2014 22:20:47 +0000
- Subject: [Bug nscd/17092] New: nscd does not correctly return child exit status
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17092
Bug ID: 17092
Summary: nscd does not correctly return child exit status
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nscd
Assignee: unassigned at sourceware dot org
Reporter: arjun.is at lostca dot se
CC: drepper.fsp at gmail dot com
The nscd parent process returns the result of a `wait' call rather than
the exit status of the child it waits for. These two aren't exactly the
same. In my case (and probably on most machines), the exit status is in
the 2nd LSB of the result of `wait', and so:
e.g. if the nscd child process returns 1, the parent returns 1 << 8,
which Bash happily reports as 0.
--
You are receiving this mail because:
You are on the CC list for the bug.