mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Warn on fallback on misconfigured login shell
This commit is contained in:
parent
ddfcddfebb
commit
df39b79d20
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ writeText "login-inner" ''
|
|||
elif [ -x "${config.user.shell}" ]; then
|
||||
exec "${config.user.shell}"
|
||||
else
|
||||
echo "Cannot execute shell '${config.user.shell}', falling back to bash"
|
||||
exec /usr/bin/env bash
|
||||
fi
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue