From 51c0c5109aa5a2451e3028f26dc7a1ea2384e3c0 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 31 Dec 2018 21:49:59 +1300 Subject: [PATCH] Don't repeat ourselves --- bin/mythtv-update-motd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mythtv-update-motd b/bin/mythtv-update-motd index 062a52e..05babaf 100755 --- a/bin/mythtv-update-motd +++ b/bin/mythtv-update-motd @@ -16,7 +16,7 @@ fi if [ -d /etc/update-motd.d ] then WORKFILE=/var/run/motd.mythtv-status - TEMPFILE=/var/run/motd.mythtv-status.new + TEMPFILE=${WORKFILE}.new else # Debian Wheezy+ handles the MOTD differently. [ -f /var/run/motd.dynamic ] && WORKFILE=/var/run/motd.dynamic -- 2.30.2