Re: [Openvpn-devel] [PATCH v2] Remove --writepid file on program exit.

2020-07-07 Thread Antonio Quartulli
Hi, On 07/07/2020 10:42, Gert Doering wrote: > For whatever reason, we never removed the pid file on program exit. > > Not only this is unclean, but it also makes testing for "I want this > test case to FAIL" in t_client.sh more annoying to code for "is the > OpenVPN process still around?"... >

[Openvpn-devel] [PATCH v2] Remove --writepid file on program exit.

2020-07-07 Thread Gert Doering
For whatever reason, we never removed the pid file on program exit. Not only this is unclean, but it also makes testing for "I want this test case to FAIL" in t_client.sh more annoying to code for "is the OpenVPN process still around?"... Do not unlink the file if chroot() is active (might be out