]> git.ipfire.org Git - thirdparty/openvpn.git/commit
make t_server_null 'server alive?' check more robust
authorGert Doering <gert@greenie.muc.de>
Wed, 18 Sep 2024 16:29:17 +0000 (18:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 19 Sep 2024 10:01:46 +0000 (12:01 +0200)
commitb322690394b75a9d4987d4b27107ccb01bbcd90e
treecf76f9ae0053e1b84e88912abe3d30c7cc50cd60
parent2cc77debf0221fa0cef3ea470c1328d25397d021
make t_server_null 'server alive?' check more robust

- use "$RUN_SUDO kill -0 $pid" to test if a given process is running, not
  "ps -p $pid" - the latter will not work if security.bsd.see_other_uids=0
  is set

- produce proper error messages if pid files can not be found or are
  empty at server shutdown time

Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240918162917.6809-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29314.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/t_server_null_client.sh
tests/t_server_null_server.sh