OutsideIT / FireMotD

:fire: Fire Framework Linux MoTD Generator :fire:
https://outsideit.net/firemotd
GNU General Public License v3.0
175 stars 45 forks source link

fixing LANG env in order to detect memory settings correctly #81

Closed dakky closed 6 years ago

dakky commented 6 years ago

without LANG="C" the free command behaves different depending on the setting. example german (de_DE):

free
              gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
Speicher:    32790348    11589692     9664776     1054824    11535880    19898916
Auslagerungsspeicher:           0           0           0
LANG=C free
              total        used        free      shared  buff/cache   available
Mem:       32790348    11592644     9661816     1054820    11535888    19895972
Swap:             0           0           0