journal-remote: check return code of sd_event_default
authorAndreas Henriksson <andreas@fatal.se>
Thu, 18 Sep 2014 15:52:54 +0000 (17:52 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 18 Sep 2014 16:33:44 +0000 (18:33 +0200)
commitb1604b341bcd190d67894f416d842990a082a4a4
tree48fd7b2dfec267076b0faf991346d75b348f790b
parent56d21cdebce3ecd3b06189cb2184a84ba909619f
journal-remote: check return code of sd_event_default

Handle sd_event_default returning error and bail out properly
as done in every other caller of this function.

Found by coverity. Fixes: CID#1238957
src/journal-remote/journal-remote.c