diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-12-14 01:09:11 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-12-14 01:09:11 +0000 |
commit | 92bbb061acc027bbe29a8973422a60eda5bff88e (patch) | |
tree | 8e0831c042ebf8eb59992463a499dbe25851a630 /manage.c | |
parent | Don't warn user if he uses user/group/chroot and (diff) | |
download | openvpn-92bbb061acc027bbe29a8973422a60eda5bff88e.tar.xz |
svn merge -r 845:854 $SO/trunk/openvpn .
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@855 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.c')
-rw-r--r-- | manage.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1863,6 +1863,16 @@ management_would_hold (struct management *man) } /* + * Return true if (from the management interface's perspective) OpenVPN should + * daemonize. + */ +bool +management_should_daemonize (struct management *man) +{ + return management_would_hold (man) || man->settings.up_query_passwords; +} + +/* * If the hold flag is enabled, hibernate until a management client releases the hold. * Return true if the caller should not sleep for an additional time interval. */ |