functions : eviter un subshell inutile

This commit is contained in:
Gitouche 2023-04-26 22:14:38 +02:00
parent 601a4ae96d
commit b858742dad

View file

@ -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