From: Florian Forster Date: Sat, 3 Jun 2006 08:36:28 +0000 (+0200) Subject: oping: Call `return' rather than `exit' in `main'. X-Git-Tag: liboping-0.2.2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aad7132669a318c360102c353bbad1f445d9a7fc;p=liboping.git oping: Call `return' rather than `exit' in `main'. --- diff --git a/src/oping.c b/src/oping.c index 52f12c6..48f6db5 100644 --- a/src/oping.c +++ b/src/oping.c @@ -333,7 +333,7 @@ int main (int argc, char **argv) } if (i == 0) - exit (1); + return (1); memset (&sigint_action, '\0', sizeof (sigint_action)); sigint_action.sa_handler = sigint_handler;