vdagentd: do not use exit()
commit7926659f2c8db307b200bff2152ef60d0b75400b
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Oct 2010 15:31:08 +0000 (28 17:31 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 28 Oct 2010 15:31:08 +0000 (28 17:31 +0200)
treed34ccb540ace762d199e76549b333f65d5a396a0
parent40a373119cfbd218de0018e23296782e0dcf4e42
vdagentd: do not use exit()

Instead quit the main loop and properly cleanup behind ourselves
This stops us from not flushing "Fatal ..." messages to the log and is
a lot cleaner then just putting an fflush call before all exit() calls.
TODO
vdagentd.c