OSDN Git Service

exit instead of returning when execv()ing clatd fails.
authorLorenzo Colitti <lorenzo@google.com>
Wed, 7 Jan 2015 06:11:30 +0000 (15:11 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Wed, 7 Jan 2015 08:03:03 +0000 (17:03 +0900)
commit32b2e795204887feb324d5cfa405bc40d8c81d0e
tree976abb00f185e926ae24b0c7cd3a0e9e6c66ccd1
parent59273ede02fc91d2a3297547d959159c8c6f69f3
exit instead of returning when execv()ing clatd fails.

Returning instead of exiting when execv() fails causes mayhem, as
it results in two netd processes running, and netd commands being
processed by one of the two at random.

Bug: 18893886
Change-Id: I25afbabaef5955c9af7053b0333969b4e83549f1
server/ClatdController.cpp