Skip to content

Commit ce21943

Browse files
authored
Merge pull request #3160 from Nathaniel-King-Navarrete/bug/call_default_not_bash_error_even_if_chsh_is_not_installed
Remove chsh check around updating a users default shell to bash
2 parents 527f8f7 + 22b2152 commit ce21943

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/api/IBMi.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -704,11 +704,8 @@ export default class IBMi {
704704

705705
if (!commandShellResult.stderr) {
706706
let usesBash = this.shell === IBMi.bashShellPath;
707-
if (!usesBash) {
708-
// make sure chsh is installed
709-
if (this.remoteFeatures[`chsh`]) {
710-
callbacks.uiErrorHandler(this, `default_not_bash`);
711-
}
707+
if (!usesBash) {
708+
callbacks.uiErrorHandler(this, `default_not_bash`);
712709
}
713710

714711
if (usesBash) {

0 commit comments

Comments
 (0)