Skip to content

Commit

Permalink
export: fix duplicate extra_flags, Fix #1311
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
  • Loading branch information
89luca89 committed May 1, 2024
1 parent ac34f10 commit 2ca4b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-export
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ca4b80

Please sign in to comment.