Starting with update-notifier-common 3.192.30.7 (focal), my up-to-date systems are showing this MOTD on login:
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-72-generic x86_64)
user@host:~$
I've attached a patch that fixes this issue and adds more test cases.
Starting with update- notifier- common 3.192.30.7 (focal), my up-to-date systems are showing this MOTD on login:
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-72-generic x86_64)
user@host:~$
I've attached a patch that fixes this issue and adds more test cases.