Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved socket check #40

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Improved socket check #40

merged 2 commits into from
Aug 1, 2023

Conversation

maicol07
Copy link
Contributor

I noticed that the $SSH_AUTH_SOCKET has an open socket without "file creation" which is causing it to appear in the ss -a list. To improve the check, I suggest using the -S flag of the test command (in fish) or conditional brackets in bash.

Copy link
Owner

@masahide masahide left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you very much.

@masahide masahide merged commit fb29a4f into masahide:main Aug 1, 2023
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