diff options
author | Steve Vinoski <[email protected]> | 2010-07-14 10:10:10 -0400 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2011-01-11 17:10:32 +0100 |
commit | 2b021d21d7d084196560f50f392b1c4962094d99 (patch) | |
tree | 768a811d78782b722af6e42b33dde86e5a4d6360 /otp_build | |
parent | c6abed0fa0cbda3247bfd935bdc325f8983320cc (diff) | |
download | otp-2b021d21d7d084196560f50f392b1c4962094d99.tar.gz otp-2b021d21d7d084196560f50f392b1c4962094d99.tar.bz2 otp-2b021d21d7d084196560f50f392b1c4962094d99.zip |
check return value of epmd server listen() call
The listen() call can fail due to a variety of conditions, so check
its return value and if it fails, print a suitable debug message if
appropriate and then exit. The exit values used are the same for those
already used for bind() failures: 0 if the error is EADDRINUSE, 1
otherwise.
Diffstat (limited to 'otp_build')
0 files changed, 0 insertions, 0 deletions