diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-17 13:20:21 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-17 13:20:21 +0000 |
commit | 90e105d2186fc96d9884857ac5fa4bc73e16705c (patch) | |
tree | 086806f81c70847361e13421950076ad0cd06855 /openvpn.h | |
parent | Brought up-to-date with Alon's PKCS11 patch at (diff) | |
download | openvpn-90e105d2186fc96d9884857ac5fa4bc73e16705c.tar.xz |
Fixed double fork bug.
Pre-2.1_beta5
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@656 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.h')
-rw-r--r-- | openvpn.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -346,9 +346,6 @@ struct context_2 struct user_state user_state; struct group_state group_state; - /* temporary variable */ - bool did_we_daemonize; - /* should we print R|W|r|w to console on packet transfers? */ bool log_rw; @@ -453,6 +450,9 @@ struct context struct plugin_list *plugins; bool plugins_owned; + /* set to true after we daemonize */ + bool did_we_daemonize; + /* level 1 context is preserved for SIGUSR1 restarts, but initialized for SIGHUP restarts */ |