diff --git a/scripts/nextcloud-exec.sh b/scripts/nextcloud-exec.sh index 0ed574e..f282c5c 100644 --- a/scripts/nextcloud-exec.sh +++ b/scripts/nextcloud-exec.sh @@ -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 "$@" }