From cdf9d5ed1dd4c5f1894b14aa790bf058a14f187d Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 18 Sep 2023 14:52:09 -0400 Subject: [PATCH] Do not report powershell users to rollbar. There are no plans to support powershell at the moment. --- internal/subshell/subshell.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/subshell/subshell.go b/internal/subshell/subshell.go index 680d56dac8..4a62f4f69c 100644 --- a/internal/subshell/subshell.go +++ b/internal/subshell/subshell.go @@ -219,7 +219,9 @@ func DetectShell(cfg sscommon.Configurable) (string, string) { if !isKnownShell { logging.Debug("Unsupported shell: %s, defaulting to OS default.", name) - rollbar.Error("Unsupported shell: %s", name) // we just want to know what this person is using + if name != "powershell" { + rollbar.Error("Unsupported shell: %s", name) // we just want to know what this person is using + } switch runtime.GOOS { case "windows": name = cmd.Name