/etc/update-motd.d/00-header is broken
Bug #510599 reported by
H.-Dirk Schmitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: base-files
The file '/etc/update-
[ -f /etc/motd.tail ] && cat /etc/motd.tail
If motd.tail isn't exisiting it will end in a return code <> 0, which is reported by run-parts like this:
Linux momo 2.6.31-18-generic #55-Ubuntu SMP Fri Jan 8 14:54:52 UTC 2010 x86_64
run-parts: /etc/update-
Using the following code fixes the problem.
[ -f /etc/motd.tail ] && cat /etc/motd.tail | true
To post a comment you must log in.
/etc/update- motd.d/ 00-header now has the change you proposed, on my updated install of Lucid Beta1.