Skip to content

Commit

Permalink
Update install_server.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 authored Mar 15, 2022
1 parent 467f0b3 commit afd5b6d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/server_manager/install_scripts/install_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
Usage: install_server.sh [--hostname <hostname>] [--api-port <port>] [--keys-port <port>]
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit afd5b6d

Please sign in to comment.