ci: fix linter errors: nextcloud-exec.sh

This commit is contained in:
Michael Grote 2023-11-09 09:05:30 +01:00
parent d65d3ae4e0
commit d3755a20fd

View file

@ -9,10 +9,10 @@ nextcloud_exec_no_shell() {
exec_user="--user $NEXTCLOUD_EXEC_USER"
fi
docker exec $exec_user "$containerId" "$@"
docker exec "$exec_user" "$containerId" "$@"
}
nextcloud_exec() {
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" "$@"
}