Skip to content
Browse files

Ensure foreign locale does not break rounding

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 21, 2019
1 parent 3ec6da4 commit 6b1464d19c558a96481e7afed22ad70f92484bae
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -69,8 +69,8 @@ Server Alias: $alias\n\
Platform: $platform_name\n\
Hostname: $host.local\n\
IP Address: $ip\n\
CPU Usage: $(printf '%.*f\n' 1 $cpupercent)%\n\
Disk Usage: $(printf '%.*f\n' 1 $diskusage)%\n\
CPU Usage: $(LC_ALL=C /usr/bin/printf '%.*f\n' 1 $cpupercent)%\n\
Disk Usage: $(LC_ALL=C /usr/bin/printf '%.*f\n' 1 $diskusage)%\n\
Active Sessions: $users\n\
Internet Status: $internet\n\

0 comments on commit 6b1464d

Please sign in to comment.
You can’t perform that action at this time.