strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
249aa67
)
ipsec: Remove duplicate check for internal commands
author
Tobias Brunner
<tobias@strongswan.org>
Tue, 30 Sep 2014 12:01:25 +0000
(14:01 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Wed, 8 Oct 2014 16:44:23 +0000
(18:44 +0200)
src/ipsec/_ipsec.in
patch
|
blob
|
history
diff --git
a/src/ipsec/_ipsec.in
b/src/ipsec/_ipsec.in
index
fa08f93
..
74035ad
100644
(file)
--- a/
src/ipsec/_ipsec.in
+++ b/
src/ipsec/_ipsec.in
@@
-340,12
+340,8
@@
path="$IPSEC_DIR/$cmd"
if [ ! -x "$path" ]
then
- path="$IPSEC_DIR/$cmd"
- if [ ! -x "$path" ]
- then
echo "$0: unknown IPsec command \`$cmd' (\`$IPSEC_SCRIPT --help' for list)" >&2
exit 2
- fi
fi
exec $path "$@"