ipsec: Remove duplicate check for internal commands

This commit is contained in:
Tobias Brunner 2014-09-30 14:01:25 +02:00
parent 249aa67f87
commit 4279bfdb40
1 changed files with 0 additions and 4 deletions

View File

@ -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 "$@"