fix control flow if kill() command fails to end program
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Mon, 22 Oct 2012 12:29:30 +0000 (14:29 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Mon, 22 Oct 2012 12:29:30 +0000 (14:29 +0200)
commit73cf8c19f49df01356992085a16a1258455512f7
tree4c98b3891745c1b688f003bf2321eb2ec86107e6
parented41d146510bbf6259c8eca583e912bac5c108d6
fix control flow if kill() command fails to end program

    Coverity:
    CID 739665 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
    At (17): "ifp->olsr_socket" is passed to a parameter that cannot be negative.

Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
src/unix/ifnet.c