From 751a18b19c0753a163c22d103c2bb62f85938ed8 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 15 Sep 2008 11:18:00 +1200 Subject: [PATCH] The init.d script shouldn't check the return code anymore, as the return code may be 1 if there any warnings present. --- debian/changelog | 7 +++++++ debian/init.d | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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) -- 2.30.2