ci: shellcheck disable=SC2086
This commit is contained in:
parent
9dec488c64
commit
65d3097548
1 changed files with 2 additions and 1 deletions
|
@ -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 "$@"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue