From 65d3097548c9891c6b8acbfe9ec8e48572fc2619 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 9 Nov 2023 09:18:19 +0100 Subject: [PATCH] ci: shellcheck disable=SC2086 --- scripts/nextcloud-exec.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/nextcloud-exec.sh b/scripts/nextcloud-exec.sh index 0ed574e..f282c5c 100644 --- a/scripts/nextcloud-exec.sh +++ b/scripts/nextcloud-exec.sh @@ -8,11 +8,12 @@ nextcloud_exec_no_shell() { if [[ -n "$NEXTCLOUD_EXEC_USER" ]]; then exec_user="--user $NEXTCLOUD_EXEC_USER" fi - + # shellcheck disable=SC2086 docker exec $exec_user "$containerId" "$@" } nextcloud_exec() { containerId="$1"; shift + # shellcheck disable=SC2086 nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" $NEXTCLOUD_EXEC_SHELL_ARGS "$@" }