Skip to content

Handle PATH also for sudo, not just smartctl command#115

Merged
Napsty merged 3 commits intomasterfrom
issue-114
Apr 21, 2026
Merged

Handle PATH also for sudo, not just smartctl command#115
Napsty merged 3 commits intomasterfrom
issue-114

Conversation

@Napsty
Copy link
Copy Markdown
Owner

@Napsty Napsty commented Apr 21, 2026

Slightly rewrite @sys_path handling, now also used for sudo command, which was missing before and led to errors in FreeBSD execution.
Make sure that sudo is not required (not needed when root executes the plugin).
Fixes #114

@Napsty Napsty merged commit 1217f4c into master Apr 21, 2026
2 checks passed
@Napsty Napsty deleted the issue-114 branch April 21, 2026 09:53
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.

Path to sudo command

1 participant