1 Tue Jun 15 15:02:28 2010 James Cameron <quozl@us.netrek.org>
3 * pptp.c (open_callmgr): fix usage of status returned by waitpid;
4 it must be wrapped by WEXITSTATUS to shift bits as required.
6 --- a/pptp.c 2010-06-15 14:35:20.265852021 +0100
7 +++ b/pptp.c 2010-06-15 14:32:00.478100392 +0100
11 waitpid(pid, &status, 0);
13 + if (WEXITSTATUS(status) != 0)
14 fatal("Call manager exited with error %d", status);