From: Andrew Ruthven Date: Mon, 31 Dec 2018 09:28:37 +0000 (+1300) Subject: Fix running the init.d script on a sysvinit system X-Git-Tag: 1.0.0~20 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a47f3920f6ab50b50bee441a37d1b0b621690b1;p=mythtv-status.git Fix running the init.d script on a sysvinit system --- diff --git a/debian/init.d b/debian/init.d index f4a1222..204380d 100644 --- a/debian/init.d +++ b/debian/init.d @@ -64,7 +64,7 @@ case "$1" in start|reload|refresh|restart|force-reload) log_daemon_msg "Updating $DESC" "$NAME" - rm $DISABLED_FLAG + rm $DISABLED_FLAG 2> /dev/null || true if ! /usr/sbin/mythtv-update-motd; then log_failure_msg "Failed to update MOTD" exit 1