functions : eviter un subshell inutile

This commit is contained in:
Gitouche 2023-04-26 22:14:38 +02:00
parent 601a4ae96d
commit b858742dad
1 changed files with 1 additions and 1 deletions

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