Skip to content

Commit

Permalink
Merge pull request #2999 from ActiveState/mitchell/dx-2417
Browse files Browse the repository at this point in the history
Consider 'sh' to be a known shell, but unsupported.
  • Loading branch information
mitchell-as authored Jan 9, 2024
2 parents b722c2e + 4691f58 commit eb39e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/subshell/subshell.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func DetectShell(cfg sscommon.Configurable) (string, string) {

if !isKnownShell {
logging.Debug("Unsupported shell: %s, defaulting to OS default.", name)
if !strings.EqualFold(name, "powershell") {
if !strings.EqualFold(name, "powershell") && name != "sh" {
rollbar.Error("Unsupported shell: %s", name) // we just want to know what this person is using
}
switch runtime.GOOS {
Expand Down

0 comments on commit eb39e1a

Please sign in to comment.