aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-09-30 14:01:25 +0200
committerTobias Brunner <tobias@strongswan.org>2014-10-08 18:44:23 +0200
commit4279bfdb40c0896f22ba58dfe7334d2760006a83 (patch)
treefa14dec147ec6b7ec7d914369aca966924370e83
parent249aa67f8777116cd3ce992be6ee98c8ac2ed5b0 (diff)
downloadstrongswan-4279bfdb40c0896f22ba58dfe7334d2760006a83.tar.bz2
strongswan-4279bfdb40c0896f22ba58dfe7334d2760006a83.tar.xz
ipsec: Remove duplicate check for internal commands
-rw-r--r--src/ipsec/_ipsec.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ipsec/_ipsec.in b/src/ipsec/_ipsec.in
index fa08f93dd..74035ad47 100644
--- 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 "$@"