summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-24 18:44:57 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-24 18:44:57 +0000
commitd5badcf116fcf744a8c99ffcdade6ebb48f56872 (patch)
treecb4e4c23cb1d6e9ac8d0701d581218e1b3704d76
parent0f4ab654259dc986524a7af2afb64eed09a96d57 (diff)
downloadopenvpn-d5badcf116fcf744a8c99ffcdade6ebb48f56872.tar.gz
openvpn-d5badcf116fcf744a8c99ffcdade6ebb48f56872.tar.xz
openvpn-d5badcf116fcf744a8c99ffcdade6ebb48f56872.zip
--remap-usr1 will now also remap signals thrown during initialization.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@822 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--ChangeLog5
-rw-r--r--init.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fa08c8d..f871d8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@ Copyright (C) 2002-2005 OpenVPN Solutions LLC <info@openvpn.net>
$Id$
+2005.11.xx -- Version 2.1-beta8
+
+* --remap-usr1 will now also remap signals thrown during
+ initialization.
+
2005.11.12 -- Version 2.1-beta7
* Allow blank passwords to be passed via the management
diff --git a/init.c b/init.c
index 53d1851..b3a999e 100644
--- a/init.c
+++ b/init.c
@@ -2383,7 +2383,10 @@ init_instance_handle_signals (struct context *c, const struct env_set *env, cons
* a management hold.
*/
if (IS_SIG (c))
- uninit_management_callback ();
+ {
+ remap_signal (c);
+ uninit_management_callback ();
+ }
}
/*