]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Don't worry if $TEMPFILE isn't present
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 17 Jul 2023 11:29:32 +0000 (23:29 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Mon, 17 Jul 2023 11:31:30 +0000 (23:31 +1200)
bin/mythtv-update-motd

index cc6c8092dbe86573df2116dc69cf59063a27291c..ba9ebec3845ee648ac382476f9d069ef9448ac92 100755 (executable)
@@ -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