]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add S_EXITCODE flag for openvpn_run_script to report exit code
authorArne Schwabe <arne@rfc2549.org>
Mon, 25 Jan 2021 12:56:23 +0000 (13:56 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 14 Feb 2021 16:11:38 +0000 (17:11 +0100)
commit04876274b5059f4c27b1f481fd92ff5e8ab15f1c
tree8a47fbc395952c8b9d97cc3d71f317c3eb5d7877
parentb29f7dffc073ebd2a3b04eac5f7aee2edcf5da49
Add S_EXITCODE flag for openvpn_run_script to report exit code

This allows to use script that have more than just fail/sucess but
also deferred as status

Patch v2: minor style fixes, improve doxygen comments

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20210125125628.30364-7-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21487.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/platform.c
src/openvpn/platform.h
src/openvpn/run_command.c
src/openvpn/run_command.h