projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use functions from logger.c
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
b0e1e63
..
9a91815
100644
(file)
--- a/
src/process.c
+++ b/
src/process.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: process.c,v 1.1.2.5
5 2003/07/17 15:06:26
guus Exp $
+ $Id: process.c,v 1.1.2.5
6 2003/07/21 14:47:43
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-86,7
+86,7
@@
void cleanup_and_exit(int c)
logger(LOG_NOTICE, _("Terminating"));
logger(LOG_NOTICE, _("Terminating"));
- closelog();
+ closelog
ger
();
exit(c);
}
exit(c);
}
@@
-170,7
+170,7
@@
int detach(void)
/* If we succeeded in doing that, detach */
/* If we succeeded in doing that, detach */
- closelog();
+ closelog
ger
();
if(do_detach) {
if(daemon(0, 0) < 0) {
if(do_detach) {
if(daemon(0, 0) < 0) {