From: Andrew Ruthven Date: Wed, 3 Oct 2012 11:06:55 +0000 (+1300) Subject: Don't die if we can't remove /var/run/motd.orig (LP: #596768) X-Git-Tag: debian-sid-0.10.2-3~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d0cc5e75ced0b810309986572b5e60eafd14715;p=mythtv-status.git Don't die if we can't remove /var/run/motd.orig (LP: #596768) --- diff --git a/debian/init.d b/debian/init.d index 613f492..4dbb00f 100644 --- a/debian/init.d +++ b/debian/init.d @@ -98,7 +98,7 @@ case "$1" in stop) log_daemon_msg "Stopping $DESC" "$NAME" [ -f /var/run/motd.orig ] && cp /var/run/motd.orig $WORKFILE - rm /var/run/motd.orig + rm /var/run/motd.orig 2> /dev/null || true log_end_msg 0 ;; status)