Skip to content

Conversation

@neuralsandwich
Copy link
Contributor

lsof in shellenv will leak warnings like WARNING can't stat() smbfs filesystem. Add -w to suppress the warnings.

lsof is only used to get the name of the shell so suppressing filesystem warning shouldn't be an issue.

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

lsof in shellenv will leak warnings like `WARNING can't stat() smbfs filesystem`. Add `-w` to suppress the warnings.

lsof is only used to get the name of the shell so suppressing filesystem warning shouldn't be an issue.
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 3, 2025
Merged via the queue into Homebrew:main with commit 238e40d Dec 3, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants