From 4279bfdb40c0896f22ba58dfe7334d2760006a83 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 30 Sep 2014 14:01:25 +0200 Subject: [PATCH] ipsec: Remove duplicate check for internal commands --- src/ipsec/_ipsec.in | 4 ---- 1 file changed, 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 "$@"