]> git.etc.gen.nz Git - mythtv-status.git/commit
Only move /var/run/motd.new if it exists.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 21 May 2009 20:51:45 +0000 (08:51 +1200)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Thu, 21 May 2009 20:51:45 +0000 (08:51 +1200)
commitaf8f37edd91f486cce64f7c2c1d29584c231bcd7
treeb3bbbd37bc35ef6027e1dbd5275bbd4361e121d5
parent9e0fa4c55acbd7bc00ab7ec2b2d9056feb177506
Only move /var/run/motd.new if it exists.

We must be hitting a race condition when update-motd is installed, since
we've only just written to /var/run/motd.new when we try and write to it.

From Launchpad:
Cron script spams due to not suppressing error when there is no /var/run/motd.new
https://bugs.launchpad.net/bugs/379044
bin/mythtv-update-motd