check return value of epmd server listen() call
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.

RoadRunnr/otp,g-andrade/otp,VincentHHL/otp,ader1990/otp,derek121/otp,sammoth-wazoku/otp,falkevik/otp,GinjaNinja32/otp,jemsbhai/otp,emile/otp,erlang/otp,emacsmirror/erlang,massemanet/otp,RoadRunnr/otp,paulcager/otp,RGafiyatullin/otp,palas/otp,Teino1978-Corp/otp,legoscia/otp,RichMorin/otp,benoitc/otp-1,jemsbhai/otp,platinumthinker/otp,dumbbell/otp,mikpe/otp,lemenkov/otp,matwey/otp,jamesruan/otp,lightcyphers/otp,benoitc/otp-1,saleyn/otp,beni55/otp,entropiae/otp,potatosalad/otp,riverrun/otp,falkevik/otp,g-andrade/otp,derek121/otp,goertzenator/otp,klarna/otp,falkevik/otp,emacsmirror/erlang,psyeugenic/otp,RichMorin/otp,sitexa/otp,ahmedshafeeq/otp,bjorng/otp,sitexa/otp,lhslll/otp,cobusc/otp,klarna/otp,kvakvs/otp,theom/otp,legoscia/otp,lightcyphers/otp,krishnakumar4a4/otp,falkevik/otp,sitexa/otp,isvilen/otp,lantti/otp,haguenau/otp,RoadRunnr/otp,vic/otp,falkevik/otp,basho/otp,aboroska/otp,paulcager/otp,lrascao/otp,lantti/otp,lrascao/otp,bugs-erlang-org/otp,vinoski/otp,c-rack/otp,tuncer/otp,goertzenator/otp,RichMorin/otp,jemsbhai/otp,marquisthunder/otp,erlang/otp,ferd/otp,aboroska/otp,RaimoNiskanen/otp,lhslll/otp,getong/otp,stolen/otp,Teino1978-Corp/erlang-otp,ader1990/otp,gjaldon/otp,NOMORECOFFEE/otp,cnbin/otp,jj1bdx/otp,cobusc/otp,bernardd/otp,derek121/otp,schlagert/otp,lemenkov/otp,getong/otp,RJ/otp,lucafavatella/otp,rlipscombe/otp,rlipscombe/otp,kvakvs/otp,lucafavatella/otp,saleyn/otp,ferd/otp,rlipscombe/otp,paulcager/otp,jj1bdx/otp,schlagert/otp,bjorng/otp,lightcyphers/otp,schlagert/otp,dgud/otp,jamesruan/otp,sdebnath/otp,krishnakumar4a4/otp,hairyhum/otp,release-project/otp,ader1990/otp,goertzenator/otp,NOMORECOFFEE/otp,lucafavatella/otp,Teino1978-Corp/otp,tuncer/otp,c-rack/otp,tuncer/otp,uabboli/otp,g-andrade/otp,gjaldon/otp,RJ/otp,emile/otp,entropiae/otp,dumbbell/otp,msantos/otp,jj1bdx/otp,neeraj9/otp,platinumthinker/otp,stolen/otp,uabboli/otp,marquisthunder/otp,jj1bdx/otp,aboroska/otp,johanclaesson/otp,msantos/otp,riverrun/otp,RGafiyatullin/otp,entropiae/otp,riverrun/otp,ahmedshafeeq/otp,sdebnath/otp,awetzel/otp,theom/otp,lantti/otp,vladdu/otp,schlagert/otp,hairyhum/otp,legoscia/otp,c-rack/otp,legoscia/otp,basho/otp,platinumthinker/otp,mikpe/otp,lianghaivv/otp,psyeugenic/otp,rlipscombe/otp,awetzel/otp,haguenau/otp,matwey/otp,paladim/otp,g-andrade/otp,bjorng/otp,bsmr-erlang/otp,bsmr-erlang/otp,msantos/otp,weisslj/otp,RaimoNiskanen/otp,gjaldon/otp,erlang/otp,erlang/otp,bjorng/otp,neeraj9/otp,benoitc/otp-1,beni55/otp,jamesruan/otp,entropiae/otp,rlipscombe/otp,lantti/otp,emile/otp,bernardd/otp,massemanet/otp,vic/otp,Teino1978-Corp/erlang-otp,vic/otp,dgud/otp,RJ/otp,beni55/otp,goertzenator/otp,yangchengjian/otp,cnbin/otp,vic/otp,getong/otp,emacsmirror/erlang,paulcager/otp,platinumthinker/otp,johanclaesson/otp,theom/otp,psyeugenic/otp,enikki/otp,RaimoNiskanen/otp,GinjaNinja32/otp,erlang/otp,sammoth-wazoku/otp,RoadRunnr/otp,paladim/otp,enikki/otp,marquisthunder/otp,psyeugenic/otp,entropiae/otp,electricimp/otp,legoscia/otp,paladim/otp,emile/otp,cnbin/otp,klarna/otp,sitexa/otp,rlipscombe/otp,RGafiyatullin/otp,saleyn/otp,lrascao/otp,potatosalad/otp,hairyhum/otp,platinumthinker/otp,paladim/otp,RoadRunnr/otp,lianghaivv/otp,dgud/otp,vladdu/otp,RaimoNiskanen/otp,ferd/otp,lemenkov/otp,vinoski/otp,lemenkov/otp,Teino1978-Corp/otp,legoscia/otp,awetzel/otp,tuncer/otp,bugs-erlang-org/otp,benoitc/otp-1,bsmr-erlang/otp,uabboli/otp,electricimp/otp,lianghaivv/otp,release-project/otp,release-project/otp,uabboli/otp,potatosalad/otp,emacsmirror/erlang,matwey/otp,haguenau/otp,bsmr-erlang/otp,massemanet/otp,mikpe/otp,theom/otp,vinoski/otp,release-project/otp,bernardd/otp,lightcyphers/otp,emacsmirror/erlang,electricimp/otp,sitexa/otp,electricimp/otp,riverrun/otp,NOMORECOFFEE/otp,sdebnath/otp,Teino1978-Corp/otp,palas/otp,jinshana/otp,riverrun/otp,falkevik/otp,bernardd/otp,isvilen/otp,cobusc/otp,vladdu/otp,massemanet/otp,lightcyphers/otp,stolen/otp,potatosalad/otp,ader1990/otp,jemsbhai/otp,ferd/otp,bernardd/otp,beni55/otp,jemsbhai/otp,sdebnath/otp,lhslll/otp,bsmr-erlang/otp,bernardd/otp,hairyhum/otp,cobusc/otp,lantti/otp,vic/otp,gjaldon/otp,lucafavatella/otp,vic/otp,ferd/otp,matwey/otp,vladdu/otp,RGafiyatullin/otp,saleyn/otp,vic/otp,benoitc/otp-1,ahmedshafeeq/otp,neeraj9/otp,cobusc/otp,dumbbell/otp,psyeugenic/otp,electricimp/otp,Teino1978-Corp/erlang-otp,krishnakumar4a4/otp,lemenkov/otp,erlang/otp,msantos/otp,bugs-erlang-org/otp,release-project/otp,mikpe/otp,aboroska/otp,haguenau/otp,jinshana/otp,haguenau/otp,beni55/otp,bugs-erlang-org/otp,bsmr-erlang/otp,hairyhum/otp,sdebnath/otp,isvilen/otp,kvakvs/otp,cnbin/otp,uabboli/otp,emile/otp,theom/otp,fenollp/otp,VincentHHL/otp,hairyhum/otp,lianghaivv/otp,tuncer/otp,yangchengjian/otp,bugs-erlang-org/otp,enikki/otp,potatosalad/otp,c-rack/otp,mikpe/otp,bernardd/otp,ahmedshafeeq/otp,bsmr-erlang/otp,dgud/otp,haguenau/otp,jamesruan/otp,VincentHHL/otp,beni55/otp,RGafiyatullin/otp,sammoth-wazoku/otp,saleyn/otp,yangchengjian/otp,release-project/otp,rlipscombe/otp,riverrun/otp,bjorng/otp,potatosalad/otp,vinoski/otp,platinumthinker/otp,bsmr-erlang/otp,marquisthunder/otp,bjorng/otp,ahmedshafeeq/otp,paulcager/otp,basho/otp,vladdu/otp,electricimp/otp,emile/otp,paulcager/otp,ahmedshafeeq/otp,g-andrade/otp,massemanet/otp,palas/otp,klarna/otp,fenollp/otp,Teino1978-Corp/erlang-otp,jj1bdx/otp,RGafiyatullin/otp,jinshana/otp,g-andrade/otp,schlagert/otp,stolen/otp,goertzenator/otp,uabboli/otp,johanclaesson/otp,getong/otp,beni55/otp,entropiae/otp,cobusc/otp,g-andrade/otp,matwey/otp,RaimoNiskanen/otp,g-andrade/otp,isvilen/otp,falkevik/otp,enikki/otp,gjaldon/otp,bernardd/otp,derek121/otp,johanclaesson/otp,vladdu/otp,jj1bdx/otp,massemanet/otp,yangchengjian/otp,derek121/otp,uabboli/otp,jinshana/otp,gjaldon/otp,matwey/otp,psyeugenic/otp,basho/otp,massemanet/otp,NOMORECOFFEE/otp,bugs-erlang-org/otp,ferd/otp,mujiatong/otp,jj1bdx/otp,johanclaesson/otp,weisslj/otp,psyeugenic/otp,enikki/otp,lianghaivv/otp,kvakvs/otp,awetzel/otp,uabboli/otp,weisslj/otp,lhslll/otp,erlang/otp,basho/otp,marquisthunder/otp,ader1990/otp,jj1bdx/otp,paladim/otp,getong/otp,lrascao/otp,c-rack/otp,neeraj9/otp,vinoski/otp,jamesruan/otp,mikpe/otp,awetzel/otp,palas/otp,hairyhum/otp,dumbbell/otp,RJ/otp,jemsbhai/otp,tuncer/otp,schlagert/otp,release-project/otp,GinjaNinja32/otp,potatosalad/otp,lucafavatella/otp,neeraj9/otp,mujiatong/otp,krishnakumar4a4/otp,getong/otp,ahmedshafeeq/otp,lhslll/otp,neeraj9/otp,platinumthinker/otp,jinshana/otp,palas/otp,paladim/otp,getong/otp,VincentHHL/otp,isvilen/otp,RoadRunnr/otp,lhslll/otp,derek121/otp,lantti/otp,theom/otp,emacsmirror/erlang,RGafiyatullin/otp,tuncer/otp,mikpe/otp,RichMorin/otp,stolen/otp,RaimoNiskanen/otp,msantos/otp,RichMorin/otp,vinoski/otp,jinshana/otp,benoitc/otp-1,stolen/otp,palas/otp,emacsmirror/erlang,potatosalad/otp,krishnakumar4a4/otp,sammoth-wazoku/otp,jamesruan/otp,derek121/otp,aboroska/otp,RichMorin/otp,RoadRunnr/otp,lemenkov/otp,jemsbhai/otp,theom/otp,paulcager/otp,marquisthunder/otp,vinoski/otp,schlagert/otp,lucafavatella/otp,palas/otp,release-project/otp,emile/otp,VincentHHL/otp,lemenkov/otp,saleyn/otp,isvilen/otp,dumbbell/otp,haguenau/otp,benoitc/otp-1,RichMorin/otp,entropiae/otp,marquisthunder/otp,vladdu/otp,neeraj9/otp,bjorng/otp,saleyn/otp,emacsmirror/erlang,riverrun/otp,fenollp/otp,sammoth-wazoku/otp,klarna/otp,c-rack/otp,dgud/otp,lrascao/otp,fenollp/otp,aboroska/otp,ahmedshafeeq/otp,cobusc/otp,goertzenator/otp,lianghaivv/otp,weisslj/otp,bernardd/otp,klarna/otp,NOMORECOFFEE/otp,c-rack/otp,lantti/otp,Teino1978-Corp/otp,lrascao/otp,NOMORECOFFEE/otp,gjaldon/otp,mujiatong/otp,potatosalad/otp,RoadRunnr/otp,bjorng/otp,psyeugenic/otp,riverrun/otp,dumbbell/otp,GinjaNinja32/otp,enikki/otp,derek121/otp,mujiatong/otp,dgud/otp,getong/otp,msantos/otp,msantos/otp,hairyhum/otp,Teino1978-Corp/erlang-otp,jamesruan/otp,johanclaesson/otp,lianghaivv/otp,sitexa/otp,dumbbell/otp,isvilen/otp,dgud/otp,kvakvs/otp,kvakvs/otp,lianghaivv/otp,RJ/otp,ferd/otp,entropiae/otp,cnbin/otp,massemanet/otp,Teino1978-Corp/otp,jemsbhai/otp,lightcyphers/otp,vladdu/otp,RGafiyatullin/otp,gjaldon/otp,awetzel/otp,basho/otp,beni55/otp,erlang/otp,emile/otp,uabboli/otp,weisslj/otp,c-rack/otp,ahmedshafeeq/otp,sammoth-wazoku/otp,falkevik/otp,weisslj/otp,GinjaNinja32/otp,RaimoNiskanen/otp,emile/otp,sdebnath/otp,bjorng/otp,tuncer/otp,platinumthinker/otp,dumbbell/otp,g-andrade/otp,krishnakumar4a4/otp,sdebnath/otp,fenollp/otp,lrascao/otp,msantos/otp,RoadRunnr/otp,dgud/otp,mujiatong/otp,tuncer/otp,RJ/otp,RichMorin/otp,getong/otp,jj1bdx/otp,lucafavatella/otp,yangchengjian/otp,isvilen/otp,johanclaesson/otp,vinoski/otp,GinjaNinja32/otp,mikpe/otp,VincentHHL/otp,dumbbell/otp,ferd/otp,jj1bdx/otp,fenollp/otp,cnbin/otp,lhslll/otp,fenollp/otp,NOMORECOFFEE/otp,stolen/otp,potatosalad/otp,Teino1978-Corp/otp,johanclaesson/otp,aboroska/otp,emacsmirror/erlang,kvakvs/otp,lightcyphers/otp,krishnakumar4a4/otp,rlipscombe/otp,basho/otp,lhslll/otp,jamesruan/otp,goertzenator/otp,kvakvs/otp,sitexa/otp,vic/otp,haguenau/otp,benoitc/otp-1,krishnakumar4a4/otp,vinoski/otp,electricimp/otp,electricimp/otp,weisslj/otp,palas/otp,cnbin/otp,yangchengjian/otp,mujiatong/otp,ader1990/otp,isvilen/otp,enikki/otp,kvakvs/otp,awetzel/otp,lucafavatella/otp,jinshana/otp,Teino1978-Corp/erlang-otp,VincentHHL/otp,lightcyphers/otp,Teino1978-Corp/erlang-otp,fenollp/otp,lrascao/otp,fenollp/otp,yangchengjian/otp,sdebnath/otp,bugs-erlang-org/otp,saleyn/otp,ader1990/otp,goertzenator/otp,bsmr-erlang/otp,aboroska/otp,marquisthunder/otp,mujiatong/otp,schlagert/otp,neeraj9/otp,awetzel/otp,dgud/otp,jinshana/otp,ferd/otp,emacsmirror/erlang,legoscia/otp,bugs-erlang-org/otp,klarna/otp,lrascao/otp,electricimp/otp,enikki/otp,legoscia/otp,RJ/otp,basho/otp,Teino1978-Corp/otp,GinjaNinja32/otp,legoscia/otp,matwey/otp,weisslj/otp,erlang/otp,dumbbell/otp,getong/otp,yangchengjian/otp,isvilen/otp,aboroska/otp,lantti/otp,lemenkov/otp,falkevik/otp,VincentHHL/otp,sammoth-wazoku/otp,basho/otp,theom/otp,GinjaNinja32/otp,release-project/otp,cnbin/otp,Teino1978-Corp/erlang-otp,NOMORECOFFEE/otp,vinoski/otp,rlipscombe/otp,cobusc/otp,paladim/otp,RaimoNiskanen/otp,goertzenator/otp,RJ/otp,matwey/otp,g-andrade/otp,matwey/otp,mujiatong/otp,bjorng/otp,klarna/otp,rlipscombe/otp,vladdu/otp,massemanet/otp,sammoth-wazoku/otp,paladim/otp,erlang/otp,sitexa/otp,mikpe/otp,ader1990/otp,mikpe/otp,RaimoNiskanen/otp,stolen/otp,paulcager/otp,weisslj/otp,dgud/otp,saleyn/otp