This commit is contained in:
Vinicius Fortuna 2022-03-15 17:01:17 -04:00 committed by GitHub
parent 0b6c42ca12
commit e8d19a1a73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -413,7 +413,8 @@ function set_hostname() {
}
install_shadowbox() {
local MACHINE_TYPE="$(uname -m)"
local MACHINE_TYPE
MACHINE_TYPE="$(uname -m)"
if [[ "${MACHINE_TYPE}" != "x86_64" ]]; then
log_error "Unsupported machine type: ${MACHINE_TYPE}. Please run this script on a x86_64 machine"
exit 1