From d3755a20fd216d8d7ed4e3fcbcbd3f41b85caaa5 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 9 Nov 2023 09:05:30 +0100 Subject: [PATCH] ci: fix linter errors: nextcloud-exec.sh --- scripts/nextcloud-exec.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/nextcloud-exec.sh b/scripts/nextcloud-exec.sh index 0ed574e..6f86f59 100644 --- a/scripts/nextcloud-exec.sh +++ b/scripts/nextcloud-exec.sh @@ -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" "$@" }