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 # Execute elf binary from stdin
elfexec () { elfexec () {
opts=$(echo "$@") opts=$(echo "$@")
if [[ $(uname -i) == 'aarch64' ]]; then if [[ "${HOSTTYPE}" == 'aarch64' ]]; then
memfd_create='279' memfd_create='279'
else else
# defaults to amd64 # defaults to amd64