From d9445077ebbd3935264e4636249258579d9c1e5a Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 17 Jul 2023 23:29:32 +1200 Subject: [PATCH] Don't worry if $TEMPFILE isn't present --- 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 cc6c809..ba9ebec 100755 --- a/bin/mythtv-update-motd +++ b/bin/mythtv-update-motd @@ -92,7 +92,7 @@ if [ $ret -eq 0 ] || [ $ret -eq 1 ]; then fi else # Something else went wrong, remove the temp file. - rm $TEMPFILE + rm -f $TEMPFILE exit 1 fi -- 2.30.2