diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-01 21:10:56 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-01 21:10:56 +0000 |
commit | 225d5fe945bb6fc6d7a523b5944e96243a6b5038 (patch) | |
tree | d5c5a5cd7161344d514dbdd50bee42db4d50e376 /init.c | |
parent | auth-pam change: link with -lpam rather (diff) | |
download | openvpn-225d5fe945bb6fc6d7a523b5944e96243a6b5038.tar.xz |
Prevent SIGUSR1 or SIGHUP from causing program
exit from initial management hold.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1427 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -447,6 +447,7 @@ possibly_become_daemon (const struct options *options, const bool first_time) ASSERT (!options->inetd); if (daemon (options->cd_dir != NULL, options->log) < 0) msg (M_ERR, "daemon() failed"); + restore_signal_state (); if (options->log) set_std_files_to_null (true); |