ipsec: Remove duplicate check for internal commands
This commit is contained in:
parent
249aa67f87
commit
4279bfdb40
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue