From 3d0cc5e75ced0b810309986572b5e60eafd14715 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 4 Oct 2012 00:06:55 +1300 Subject: [PATCH] Don't die if we can't remove /var/run/motd.orig (LP: #596768) --- debian/init.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2