diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-02-29 22:12:16 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-03-22 22:53:39 +0100 |
commit | 7b49c16761b4a11f1f0846cd46bd7194392efbfa (patch) | |
tree | f0f639062196120b8dd4a0a977e68f9fe3d4dea5 /src/openvpn/init.c | |
parent | 3d163bc544ab9dfc62d9a2c865f8abb865bf6eb3 (diff) | |
download | openvpn-7b49c16761b4a11f1f0846cd46bd7194392efbfa.tar.gz openvpn-7b49c16761b4a11f1f0846cd46bd7194392efbfa.tar.xz openvpn-7b49c16761b4a11f1f0846cd46bd7194392efbfa.zip |
build: move daemon() emulation into compat
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/init.c')
-rw-r--r-- | src/openvpn/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/init.c b/src/openvpn/init.c index e7edb05..bba3cf8 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -993,7 +993,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"); + msg (M_ERR, "daemon() failed or unsupported"); restore_signal_state (); if (options->log) set_std_files_to_null (true); |