Hi,
when one of the scripts in /etc/update-motd.d returns non-zero exit
code, /run/motd.dynamic doesn't get updated. Nothing is logged, no
information given. I had to resort to stracing sshd to find out what's
going on.
If the abort-on-non-zero is the intended behavior, there should be some
information given to the user, either in the generated motd, or in at
least in syslog, so that one can find out what's going wrong.
If this is not the intended behavior, then the bug should be fixed.
Greetings
Marc