From: Andrew Ruthven Date: Wed, 26 Jul 2023 12:43:47 +0000 (+1200) Subject: Use the default value without setting HOST X-Git-Tag: 1.2.0~18 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=929bf462e13f951333ca2924150b89cd32b0860c;p=mythtv-status.git Use the default value without setting HOST --- 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 ]