From afd5b6de4244101cf7c4cc73fcf12438aff6c928 Mon Sep 17 00:00:00 2001 From: Nial McCallister <48334675+nmcc1212@users.noreply.github.com> Date: Tue, 15 Mar 2022 20:45:50 +0000 Subject: [PATCH] Update install_server.sh --- src/server_manager/install_scripts/install_server.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server_manager/install_scripts/install_server.sh b/src/server_manager/install_scripts/install_server.sh index 4e2eaef37..22b38b204 100755 --- a/src/server_manager/install_scripts/install_server.sh +++ b/src/server_manager/install_scripts/install_server.sh @@ -41,11 +41,6 @@ set -euo pipefail -if [[ $(uname -m 2> /dev/null) != x86_64 ]]; then - echo Please run this script on x86_64 machine. - exit 1 -fi - function display_usage() { cat <] [--api-port ] [--keys-port ] @@ -418,6 +413,11 @@ function set_hostname() { } install_shadowbox() { + + if [[ $(uname -m 2> /dev/null) != x86_64 ]]; then + log_error " Please run this script on an x86_64 machine." + exit 1 + fi # Make sure we don't leak readable files to other users. umask 0007