projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Added log message when SIGCHLD is received ("thanks" to Ivo van Dong)
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
c9cd09e
..
e4549ec
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: tincd.c,v 1.10.4.
1 2000/06/25 15:16:12
guus Exp $
+ $Id: tincd.c,v 1.10.4.
3 2000/06/28 14:34:40
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-352,7
+352,7
@@
main(int argc, char **argv, char **envp)
if(geteuid())
{
if(geteuid())
{
- fprintf(stderr, _("You must be root to run this program.
s
orry.\n"));
+ fprintf(stderr, _("You must be root to run this program.
S
orry.\n"));
return 1;
}
return 1;
}
@@
-490,5
+490,6
@@
setup_signals(void)
RETSIGTYPE parent_exit(int a)
{
RETSIGTYPE parent_exit(int a)
{
+ syslog(LOG_NOTICE, _("Got SIGCHLD: exitting immediately"));
exit(0);
}
exit(0);
}