summaryrefslogtreecommitdiffstats
path: root/testing/libreswan/openrc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libreswan/openrc.patch')
-rw-r--r--testing/libreswan/openrc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/libreswan/openrc.patch b/testing/libreswan/openrc.patch
new file mode 100644
index 000000000..8a32c53ce
--- /dev/null
+++ b/testing/libreswan/openrc.patch
@@ -0,0 +1,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
+
+