ci: shellcheck disable=SC2086

This commit is contained in:
Michael Grote 2023-11-09 09:18:19 +01:00
parent 9dec488c64
commit 65d3097548

View file

@ -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 "$@"
}