aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src/epmd_cli.c
diff options
context:
space:
mode:
authorSteve Vinoski <[email protected]>2010-07-14 10:10:10 -0400
committerPatrik Nyblom <[email protected]>2011-01-11 17:10:32 +0100
commit2b021d21d7d084196560f50f392b1c4962094d99 (patch)
tree768a811d78782b722af6e42b33dde86e5a4d6360 /erts/epmd/src/epmd_cli.c
parentc6abed0fa0cbda3247bfd935bdc325f8983320cc (diff)
downloadotp-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 'erts/epmd/src/epmd_cli.c')
0 files changed, 0 insertions, 0 deletions