main: invoke olsr_exit at the end of main
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 9 Nov 2015 22:48:36 +0000 (23:48 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 11 Nov 2015 16:09:27 +0000 (17:09 +0100)
commitb045b1d5f940dad999f44ae9658adce74f1b8caa
tree35f51e0387676b69e827097e371343f9044c8923
parent2ef7a0be12e5c2056f0d6bb57737a293f956c786
main: invoke olsr_exit at the end of main

To make it explicit that that is the only proper way to exit.
exit() calls are now in the only 2 allowed places in olsrd (not
counting olsrd_switch).

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/main.c