diff --git a/functions.sh b/functions.sh index 4a6f5ce..dcf849a 100644 --- a/functions.sh +++ b/functions.sh @@ -263,7 +263,7 @@ get_podman_volume_path () { # Execute elf binary from stdin elfexec () { opts=$(echo "$@") - if [[ $(uname -i) == 'aarch64' ]]; then + if [[ "${HOSTTYPE}" == 'aarch64' ]]; then memfd_create='279' else # defaults to amd64