]> git.ipfire.org Git - thirdparty/openvpn.git/commit
t_client.sh: Make OpenVPN write PID file to avoid various sudo issues
authorDavid Sommerseth <davids@openvpn.net>
Sat, 17 Sep 2016 09:20:26 +0000 (12:20 +0300)
committerGert Doering <gert@greenie.muc.de>
Sat, 17 Sep 2016 09:45:09 +0000 (11:45 +0200)
commite0926ebfe55347843af701216be9598827a1367a
treebfcf2dd911e16aba14cd36dc62a3c46866cc72b8
parent368991264d82f038bde30a67910ac6c7681a4ba9
t_client.sh: Make OpenVPN write PID file to avoid various sudo issues

This resolves an issue where $! returns the PID of the sudo process instead
of the PID of OpenVPN and when sudo does not properly propagate signales
down to OpenVPN.

Trac: #738
Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1474104026-20615-1-git-send-email-davids@openvpn.net>
URL: http://www.mail-archive.com/search?l=mid&q=1474104026-20615-1-git-send-email-davids@openvpn.net
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/t_client.sh.in