From b163ad09344c9df73b49ce59a732ec00ea5ad72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Mon, 27 Jan 2025 11:42:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Don't=20report=20an=20error=20fo?= =?UTF-8?q?r=20non-first=20nodes=20codeserver?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prepare-labs/lib/commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare-labs/lib/commands.sh b/prepare-labs/lib/commands.sh index cdfb9c13..73c04409 100644 --- a/prepare-labs/lib/commands.sh +++ b/prepare-labs/lib/commands.sh @@ -59,7 +59,7 @@ _cmd_codeserver() { CODESERVER_URL=https://github.com/coder/code-server/releases/download/v${CODESERVER_VERSION}/code-server-${CODESERVER_VERSION}-linux-${ARCH}.tar.gz pssh " set -e - i_am_first_node || exit + i_am_first_node || exit 0 if ! [ -x /usr/local/bin/code-server ]; then curl -fsSL $CODESERVER_URL | sudo tar zx -C /opt sudo ln -s /opt/code-server-${CODESERVER_VERSION}-linux-${ARCH}/bin/code-server /usr/local/bin/code-server