From: Andrew Ruthven Date: Sun, 14 Sep 2008 23:18:00 +0000 (+1200) Subject: The init.d script shouldn't check the return code anymore, as the return code may... X-Git-Tag: debian-0.9.0-4~5 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d2fafdbfbea4cae4b555152d0d899c0151c1aca;p=mythtv-status.git The init.d script shouldn't check the return code anymore, as the return code may be 1 if there any warnings present. --- diff --git a/debian/changelog b/debian/changelog index 5eaa3c6..0c89ed0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mythtv-status (0.9.0-2) unstable; urgency=low + + * The init.d script shouldn't check the return code anymore, as the + return code may be 1 if there any warnings present. + + -- Andrew Ruthven Mon, 15 Sep 2008 11:16:53 +1200 + mythtv-status (0.9.0-1) unstable; urgency=low * New upstream release. diff --git a/debian/init.d b/debian/init.d index 1c38c8c..685f312 100644 --- a/debian/init.d +++ b/debian/init.d @@ -61,10 +61,8 @@ case "$1" in cp /var/run/motd.orig /var/run/motd.new - if $DAEMON $ARGS -h $HOST >> /var/run/motd.new - then - mv /var/run/motd.new /var/run/motd - fi + $DAEMON $ARGS -h $HOST >> /var/run/motd.new + mv /var/run/motd.new /var/run/motd log_end_msg 0 ;; stop)