pty: actually return the shell we found
this was masked for me because my dotfiles have a special case to run zsh when launching sh as a login shell. doh! refs: https://github.com/wez/wezterm/issues/2469
This commit is contained in:
1 parent
7670c4f0ae
commit
9082c79b34
1 file changed
+2
@@ -477,6 +477,8 @@ impl CommandBuilder {
|
||||
"passwd database shell={shell:?} which is \
|
||||
not executable ({err:#}), fallback to /bin/sh"
|
||||
);
|
||||
} else {
|
||||
return Ok(shell)
|
||||
}
|
||||
}
|
||||
Ok("/bin/sh".into())
|
||||
|
||||
Reference in new issue
Block a user