projects
/
liboping.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oping: Call `return' rather than `exit' in `main'.
[liboping.git]
/
src
/
oping.c
diff --git
a/src/oping.c
b/src/oping.c
index
52f12c6
..
48f6db5
100644
(file)
--- 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;