ipsec: Remove duplicate check for internal commands

This commit is contained in:
Tobias Brunner
2014-10-08 18:44:23 +02:00
parent 249aa67f87
commit 4279bfdb40
-4
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 "$@"