git Revert "ci: fix linter errors: nextcloud-exec.sh"

This reverts commit d3755a20fd.
This commit is contained in:
Michael Grote 2023-11-09 09:15:52 +01:00
parent 156aad8d30
commit 9dec488c64

View file

@ -9,10 +9,10 @@ nextcloud_exec_no_shell() {
exec_user="--user $NEXTCLOUD_EXEC_USER" exec_user="--user $NEXTCLOUD_EXEC_USER"
fi fi
docker exec "$exec_user" "$containerId" "$@" docker exec $exec_user "$containerId" "$@"
} }
nextcloud_exec() { nextcloud_exec() {
containerId="$1"; shift containerId="$1"; shift
nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" "$NEXTCLOUD_EXEC_SHELL_ARGS" "$@" nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" $NEXTCLOUD_EXEC_SHELL_ARGS "$@"
} }