OSDN Git Service
(root)
/
opengatem
/
opengatem.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replaced signal function.
[opengatem/opengatem.git]
/
mngsrc
/
proc.c
diff --git
a/mngsrc/proc.c
b/mngsrc/proc.c
index
8d955f9
..
7de103d
100644
(file)
--- a/
mngsrc/proc.c
+++ b/
mngsrc/proc.c
@@
-72,7
+72,7
@@
int startChildProc(char* macAddress){
SavePidToMacCheckTable(macAddress, getpid(), rule4, rule6);
/* at TERM signal is received, call closeExit */
- signal(SIGTERM, closeExit);
+ signal
x
(SIGTERM, closeExit);
/* sleep a while */
sleep(atoi(GetConfValue("OpenTimeout")));