summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-11-22 19:09:55 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-11-22 19:09:55 +0000
commitdb416843b12486ed851a53f5811f82ea47742f22 (patch)
tree88ac23dbbf5cc8163332c8b28fd11928f8d4c515 /net-misc/openswan/files
parentAdd metadata.xml (diff)
downloadgentoo-2-db416843b12486ed851a53f5811f82ea47742f22.tar.gz
gentoo-2-db416843b12486ed851a53f5811f82ea47742f22.tar.bz2
gentoo-2-db416843b12486ed851a53f5811f82ea47742f22.zip
Change "exit" to "return" in init script and use doinitd. Thanks to Tomasz Orzechowski for reporting and Sérgio Luís for init script. Closes Bug 99138
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'net-misc/openswan/files')
-rw-r--r--net-misc/openswan/files/ipsec2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/openswan/files/ipsec b/net-misc/openswan/files/ipsec
index 2db1fa68f05c..2d4bf293e6e1 100644
--- a/net-misc/openswan/files/ipsec
+++ b/net-misc/openswan/files/ipsec
@@ -28,7 +28,7 @@ ipsecdoit() {
then
echo "$IPSEC_confreadstatus -- \`$1' aborted" |
logger -s -p daemon.error -t ipsec_setup
- exit 1
+ return 1
fi
IPSECsyslog=${IPSECsyslog-daemon.error}
export IPSECsyslog