projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
469a5b3
)
handle SIGHUP too
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 30 Sep 2008 03:34:00 +0000
(
04:34
+0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 30 Sep 2008 03:34:00 +0000
(
04:34
+0100)
mainloop.c
patch
|
blob
|
history
diff --git
a/mainloop.c
b/mainloop.c
index
adbf683
..
5267cb6
100644
(file)
--- a/
mainloop.c
+++ b/
mainloop.c
@@
-78,6
+78,8
@@
int vpn_mainloop(struct anyconnect_info *vpninfo)
sa.sa_handler = handle_sigint;
sigaction(SIGINT, &sa, NULL);
+ sigaction(SIGHUP, &sa, NULL);
+
while (!killed && !vpninfo->quit_reason) {
int did_work = 0;
int timeout = INT_MAX;