From df6268e24f82cf2be620d1684133840f5120c98f Mon Sep 17 00:00:00 2001 From: Felix Bartels <1257835+fbartels@users.noreply.github.com> Date: Wed, 13 Nov 2019 09:44:00 +0100 Subject: [PATCH] bring back the possibillity to specify args (#284) Signed-off-by: Felix Bartels --- konnect/wrapper.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/konnect/wrapper.sh b/konnect/wrapper.sh index a995d83..0a456dc 100755 --- a/konnect/wrapper.sh +++ b/konnect/wrapper.sh @@ -77,6 +77,11 @@ if [ "${insecure:-}" = "yes" ]; then set -- "$@" "--insecure" fi +# Support additional args provided via environment. +if [ -n "${ARGS:-}" ]; then + set -- "$@" "${ARGS}" +fi + # read password from file (UCS requirement) if [ -n "${LDAP_BINDPW_FILE:-}" ]; then bindpw="$(cat "${LDAP_BINDPW_FILE}")"