OutsideIT / FireMotD

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

LeftoverChars formula missing from StartGrayTheme #70

Closed StormTrooper closed 6 years ago

StormTrooper commented 6 years ago

This code is missing from the StartGrayTheme function.

 LeftoverChars=$((MaxLeftOverChars - HostChars -10))
    (( $LeftoverChars <= 0 )) && LeftoverChars=0

Otherwise results in a error: head: invalid number of bytes: /dev/zero

willemdh commented 6 years ago

Ah really sorry I keep forgetting the grey theme in my tests. I'll look into it. Thanks for letting me know.

willemdh commented 6 years ago

Should be ok now by .https://github.com/willemdh/FireMotD/pull/74 Let us know if not.