From b76e8a4c9de90b661a45723a628d08082c1b5872 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 10 Nov 2023 00:54:08 +0100 Subject: [PATCH] Fix false exit status on pre runtime scriptlet (Elkhan Mammadli , RHBZ#2239722) Signed-off-by: David Sommerseth --- openvpn.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openvpn.spec b/openvpn.spec index 81a4aad..298c68c 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -6,7 +6,7 @@ Name: openvpn Version: 2.5.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A full-featured TLS VPN solution URL: https://community.openvpn.net/ Source0: https://build.openvpn.net/downloads/releases/%{name}-%{version}.tar.gz @@ -155,6 +155,7 @@ getent group openvpn &>/dev/null || groupadd -r openvpn getent passwd openvpn &>/dev/null || \ /usr/sbin/useradd -r -g openvpn -s /sbin/nologin -c OpenVPN \ -d /etc/openvpn openvpn +exit 0 %post for srv in `systemctl | awk '/openvpn-client@.*\.service/{print $1} /openvpn-server@.*\.service/{print $1}'`; @@ -201,6 +202,9 @@ done %changelog +* Thu Nov 9 2023 David Sommerseth - 2.5.9-2 +- Fix false exit status on pre runtime scriptlet (Elkhan Mammadli , RHBZ#2239722) + * Thu Feb 16 2023 David Sommerseth - 2.5.9-1 - Update to upstream OpenVPN 2.5.9