projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b92b82
)
oping: Call `return' rather than `exit' in `main'.
author
Florian Forster
<octo@verplant.org>
Sat, 3 Jun 2006 08:36:28 +0000
(10:36 +0200)
committer
Florian Forster
<octo@verplant.org>
Sat, 3 Jun 2006 08:36:28 +0000
(10:36 +0200)
src/oping.c
patch
|
blob
|
history
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;