Author: Manoj Srivastava
Email: srivasta@golden-gryphon.com Subject: policycoreutils: The error message on forkpty() failure is not clear or useful. Date: Sun, 23 Aug 2009 09:40:58 -0500 Hi, This has been reported against the Debian BTS. The current error message when forkpty() fails is not clear or useful. (Arguably, the erro message in the child branch cold also be improved) The following patch makes indicate what went wrong. Probably something better than this could be devised, but this is still a lot better than the current code. Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
parent
c282c4024d
commit
96f592422a
|
@ -153,7 +153,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (child_pid < 0) {
|
||||
perror("Fork:");
|
||||
perror("forkpty():");
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
exit(EX_OSERR);
|
||||
|
|
Loading…
Reference in New Issue