mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Suppress stderr messages https://sourceforge.net/p/webadmin/bugs/5228/
This commit is contained in:
@ -74,7 +74,7 @@ sub get_ups_values
|
||||
{
|
||||
if (!scalar(@get_ups_cache)) {
|
||||
local @rv;
|
||||
open(SENS, "upsc ".quotemeta($_[0])." |");
|
||||
open(SENS, "upsc ".quotemeta($_[0])." 2>/dev/null |");
|
||||
while(<SENS>) {
|
||||
if (/^(\S+):\s+(.*)/) {
|
||||
push(@rv, { 'name' => $1,
|
||||
|
Reference in New Issue
Block a user