-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent log spam with nut plugins (#1631)
On Debian / Ubuntu, nut is linked against libnss3 which causes a warning message to be emitted when upsc is run if SSL isn't being used. This leads to errors during every poll like: 2024/09/04-21:05:07 [299208] Error output from nut_misc: 2024/09/04-21:05:07 [299208] Init SSL without certificate database nut 2.8.1, which has started making its way to distros, adds a new NUT_QUIET_INIT_SSL environment variable (specifically designed for uses such as this) which allows silencing this warning. Add it to the nut plugins. It's a no-op for older nut versions.
- Loading branch information
Showing
3 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters