Skip to content

Commit

Permalink
fix: bad substitution in host-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme authored and kbdharun committed Apr 23, 2024
1 parent 870230b commit 07dba60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes.container/usr/bin/host-shell
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ "$(basename "${0}")" != "host-shell" ]; then
host_command="$(basename "${0}")"
else
host_shell=$(grep "^$USER" /run/host/etc/passwd | awk -F: '{print $NF}')
host_command="${1:-${$host_shell:-/bin/bash}}"
host_command="${1:-${host_shell:-/bin/bash}}"
shift
fi

Expand Down

0 comments on commit 07dba60

Please sign in to comment.