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

Only read directories under /sys/class/net #2357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pipex
Copy link
Contributor

@pipex pipex commented Jul 23, 2024

When reading mac addresses, if there is a non-directory file under /sys/class/net, this will cause the supervisor to show an exception on the logs. This now filters out non-directories on the list to prevent this

Change-type: patch

@flowzone-app flowzone-app bot enabled auto-merge July 23, 2024 22:50
@pipex pipex force-pushed the mac-address branch 2 times, most recently from cce57d4 to 415ddd7 Compare July 30, 2024 19:24
When reading mac addresses, if there is a non-directory file under
/sys/class/net, this will cause the supervisor to show an exception on
the logs. This now filters out non-directories on the list to prevent
this

Change-type: patch
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.

1 participant