Skip to content
  • Thomas Schüßler's avatar
    Escape the output of lsb-release. · 824f7cb0
    Thomas Schüßler authored
    There can be problematic characters in the output of lsb_release -s -d
    e.g.: Debian GNU/Linux 9.8 (stretch)
    
    which later leads to the error:
    
    /etc/update-motd.d/lsb-release: line 1: syntax error near unexpected
    token `('
    
    Escaping the output fixed it.
    824f7cb0