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