projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9706c4b
)
Hide error output
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 9 May 2010 20:30:19 +0000
(13:30 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 9 May 2010 20:30:19 +0000
(13:30 -0700)
system-status/system-status-lib.pl
patch
|
blob
|
history
diff --git
a/system-status/system-status-lib.pl
b/system-status/system-status-lib.pl
index
1763c91
..
a7b4398
100755
(executable)
--- a/
system-status/system-status-lib.pl
+++ b/
system-status/system-status-lib.pl
@@
-62,7
+62,7
@@
$info->{'drivetemps'} = \@drive if (@drive);
# IO input and output
if ($gconfig{'os_type'} =~ /-linux$/) {
- local $out = &backquote_command("vmstat 1 2");
+ local $out = &backquote_command("vmstat 1 2
2>/dev/null
");
if (!$?) {
local @lines = split(/\r?\n/, $out);
local @w = split(/\s+/, $lines[$#lines]);