From 929bf462e13f951333ca2924150b89cd32b0860c Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 27 Jul 2023 00:43:47 +1200 Subject: [PATCH] Use the default value without setting HOST --- bin/mythtv_recording_now | 2 +- bin/mythtv_recording_soon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mythtv_recording_now b/bin/mythtv_recording_now index bb62f9a..331c4ea 100755 --- a/bin/mythtv_recording_now +++ b/bin/mythtv_recording_now @@ -15,7 +15,7 @@ then . /etc/default/mythtv-status fi -/usr/bin/mythtv-status -h "${HOST:=localhost}" --return-code-only --recording-now +/usr/bin/mythtv-status -h "${HOST:-localhost}" --return-code-only --recording-now if [ $? -eq 1 ] then diff --git a/bin/mythtv_recording_soon b/bin/mythtv_recording_soon index 529abcb..e4d1467 100755 --- a/bin/mythtv_recording_soon +++ b/bin/mythtv_recording_soon @@ -22,7 +22,7 @@ else ARGS="--recording-in-warn 600" fi -/usr/bin/mythtv-status -h "${HOST:=localhost}" --return-code-only \ +/usr/bin/mythtv-status -h "${HOST:-localhost}" --return-code-only \ --recording-now --next-recording $ARGS if [ $? -eq 1 ] -- 2.30.2