This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, openvpn-n2n has been updated via d4c8b6bec26d2b45112e129f99921558058c4b18 (commit) from 80ca8bd0f52b61accecc4d66296ec7d7648ee990 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit d4c8b6bec26d2b45112e129f99921558058c4b18 Author: Michael Tremer michael.tremer@ipfire.org Date: Wed Jun 29 20:02:31 2011 +0200
openvpnctrl: Remove PID file after an openvpn process was killed.
-----------------------------------------------------------------------
Summary of changes: src/misc-progs/openvpnctrl.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Difference in files: diff --git a/src/misc-progs/openvpnctrl.c b/src/misc-progs/openvpnctrl.c index 1a40c9a..ddda612 100644 --- a/src/misc-progs/openvpnctrl.c +++ b/src/misc-progs/openvpnctrl.c @@ -466,6 +466,10 @@ void killNet2Net(char *name) { fprintf(stderr, "Killing PID %d.\n", pid); kill(pid, SIGTERM);
+ char command[STRING_SIZE]; + snprintf(command, STRING_SIZE - 1, "/bin/rm -f %s", pidfile); + executeCommand(command); + exit(0); }
hooks/post-receive -- IPFire 2.x development tree