Fix: Remove shell.exists() check from get_default_terminal (#2013)
* Fix: Make sure to get full path from SHELL env * Feat: Revert to previous get_default_terminal and just remove shell exists check
This commit is contained in:
parent
685e39bd9b
commit
8eb6446b3f
1 changed files with 0 additions and 3 deletions
|
|
@ -448,9 +448,6 @@ impl Pty {
|
|||
log::warn!("Cannot read SHELL env, falling back to use /bin/sh");
|
||||
"/bin/sh".to_string()
|
||||
}));
|
||||
if !shell.exists() {
|
||||
panic!("Cannot find shell {}", shell.display());
|
||||
}
|
||||
TerminalAction::RunCommand(RunCommand {
|
||||
args: vec![],
|
||||
command: shell,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue