diff --git a/distrobox-export b/distrobox-export index 4f027ad16e..7cc528b11b 100755 --- a/distrobox-export +++ b/distrobox-export @@ -335,7 +335,7 @@ generate_script() { if [ -z "\${CONTAINER_ID}" ]; then exec "${DISTROBOX_ENTER_PATH:-"distrobox-enter"}" ${rootful} -n ${container_name} ${enter_flags} -- ${sudo_prefix} ${container_command_suffix} elif [ -n "\${CONTAINER_ID}" ] && [ "\${CONTAINER_ID}" != "${container_name}" ]; then - exec distrobox-host-exec '${dest_path}/$(basename "${exported_bin}")' ${extra_flags} "\$@" + exec distrobox-host-exec '${dest_path}/$(basename "${exported_bin}")' "\$@" else exec '${exported_bin}' "\$@" fi