From: Tobias Brunner Date: Tue, 30 Sep 2014 12:01:25 +0000 (+0200) Subject: ipsec: Remove duplicate check for internal commands X-Git-Tag: 5.2.1rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4279bfdb40c0896f22ba58dfe7334d2760006a83;p=thirdparty%2Fstrongswan.git ipsec: Remove duplicate check for internal commands --- diff --git a/src/ipsec/_ipsec.in b/src/ipsec/_ipsec.in index fa08f93dd9..74035ad47b 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 "$@"