I agree with Aaron and Daniel. I have a custom MOTD generation script
that uses the output of updater-notifier `head -qn 2 /var/lib/update-
notifier/updates-available`. Not having any text in that file if there
are no updates available breaks the layout of the MOTD output.

Regardless of my custom setup, having the blank lines in the default
MOTD generated by `/etc/motd.d/90-updates-available` does make me think
something is broken. It's nice to have the validation of "0 packages can
be updated", IMO.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1926819

Title:
  Empty MOTD on up-to-date systems (includes fix)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1926819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to