aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipsec/_ipsec.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipsec/_ipsec.in')
-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 "$@"