From a14a079b93e8feab5c77093ba3a990fe276fa72d Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Fri, 30 Aug 2024 21:25:57 +0200 Subject: [PATCH] oidc-agent-service: fix passing of oidc-agent options Options are kept in a string separated by whitespace, and would be forced to be a single option when quoting that string again. fixes #593 --- src/oidc-agent-service/oidc-agent-service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oidc-agent-service/oidc-agent-service b/src/oidc-agent-service/oidc-agent-service index a183c911..79daa7b3 100755 --- a/src/oidc-agent-service/oidc-agent-service +++ b/src/oidc-agent-service/oidc-agent-service @@ -34,7 +34,7 @@ function echo_vars() { } function start() { - json=$(${OIDC_AGENT} -a "${SOCK}" "${OIDC_AGENT_OPTS}" --pid-file="${PID_FILE}" --json) + json=$(${OIDC_AGENT} -a "${SOCK}" ${OIDC_AGENT_OPTS} --pid-file="${PID_FILE}" --json) OIDCD_PID=$(${ECHO} "${json}" | "${JQ}" -r ".dpid") echo_vars }