projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdcf09
)
Force uptime output to english
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 29 Jun 2009 20:09:42 +0000
(20:09 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 29 Jun 2009 20:09:42 +0000
(20:09 +0000)
blue-theme/right.cgi
patch
|
blob
|
history
diff --git
a/blue-theme/right.cgi
b/blue-theme/right.cgi
index
a3b3f6a
..
9a2b91d
100755
(executable)
--- a/
blue-theme/right.cgi
+++ b/
blue-theme/right.cgi
@@
-59,7
+59,7
@@
if ($level == 0) {
print "<td>",&text('right_kernelon', $o, $r, $m),"</td> </tr>\n";
# System uptime
- $out = &backquote_command("uptime");
+ $out = &backquote_command("
LC_ALL='' LANG=''
uptime");
$uptime = undef;
if ($out =~ /up\s+(\d+)\s+days,\s+(\d+):(\d+)/) {
# up 198 days, 2:06