Skip to content

Commit

Permalink
fix: the way target_shell is defined
Browse files Browse the repository at this point in the history
this prevents VSO from spotting itself as the main shell
  • Loading branch information
mirkobrombin committed Dec 22, 2023
1 parent 08788b0 commit 3746970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes.container/usr/bin/os-shell
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ for file in /run/host/usr/share/vso/host-exports/*; do
fi
done

target_shell=$(echo $SHELL)
target_shell=$(getent passwd $USER | cut -d: -f7)
exec "$target_shell" "$@"

0 comments on commit 3746970

Please sign in to comment.