Terminate service if it cannot setup its sockets 57/34457/2
authorRafal Krypa <r.krypa@samsung.com>
Tue, 27 Jan 2015 11:06:44 +0000 (12:06 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 2 Feb 2015 10:04:28 +0000 (02:04 -0800)
commit0fc7b95468c6c61389e406c0ae4cc73973768b4c
tree4a1e5848152f7a09bc551c102248a2e5fcc10122
parent903a155d4bb4946726aff94103c204e2f72aee2d
Terminate service if it cannot setup its sockets

Currently even if the server cannot listen on a socket it will continue
running. There is no point in that, when no client will be able to connect.

Change-Id: I74ad5a9fddee1072f7642c036a088805f53caa11
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/server/main/server-main.cpp