From 173cc7408cee147a254e96650e3b8cffb35fd3d0 Mon Sep 17 00:00:00 2001 From: Maru Newby Date: Fri, 15 Mar 2024 09:42:43 -0700 Subject: [PATCH] fixup: Ensure the correct filename on x86 --- scripts/run_promtail.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/run_promtail.sh b/scripts/run_promtail.sh index 3d1712812b0..9b386d3d55f 100755 --- a/scripts/run_promtail.sh +++ b/scripts/run_promtail.sh @@ -65,6 +65,8 @@ if ! command -v "${CMD}" &> /dev/null; then ARCH="$(uname -i)" if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64" + elif [[ "${ARCH}" == "x86_64" ]]; then + ARCH="amd64" fi DIST="linux-${ARCH}" fi