summaryrefslogtreecommitdiffstats
path: root/testing/libreswan/openrc.patch
blob: 8a32c53ce7ebb7acda6b665d5838d7483b0d1a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From cf3af91d861caa849f6f72e3af2d7c7ee56e6b27 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 19 Nov 2013 15:25:41 +0000
Subject: [PATCH] initsystems: fix typo in openrc script

---
 initsystems/openrc/ipsec.init.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/initsystems/openrc/ipsec.init.in b/initsystems/openrc/ipsec.init.in
index 027b253..f3ab2f9 100755
--- a/initsystems/openrc/ipsec.init.in
+++ b/initsystems/openrc/ipsec.init.in
@@ -50,7 +50,7 @@ stop() {
 	start-stop-daemon --stop --pidfile "${PLUTO_PIDFILE}"
 	RETVAL=$?
 	${IPSEC_BINARY} _stackmanager stop
-	eend RETVAL
+	eend $RETVAL
 }
 
 reload() {
-- 
1.8.4.3