From 33124189744abfdb72e2d618754ce218c1796ad2 Mon Sep 17 00:00:00 2001
From: Andrew Ruthven <andrew@etc.gen.nz>
Date: Sat, 12 Jan 2019 00:48:49 +1300
Subject: [PATCH] Switch back to ARGS

Since these arguments are local to this script, don't confuse
things.
---
 bin/mythtv_recording_soon | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/mythtv_recording_soon b/bin/mythtv_recording_soon
index 400d477..b43825a 100755
--- a/bin/mythtv_recording_soon
+++ b/bin/mythtv_recording_soon
@@ -17,13 +17,13 @@ fi
 
 if [ "x$1" != "x" ]
 then
-  UPDATE_MOTD_ARGS="--recording-in-warn $1"
+  ARGS="--recording-in-warn $1"
 else
-  UPDATE_MOTD_ARGS="--recording-in-warn 600"
+  ARGS="--recording-in-warn 600"
 fi
 
 /usr/bin/mythtv-status -h ${HOST:=localhost} --return-code-only \
-  --recording-now --next-recording $UPDATE_MOTD_ARGS
+  --recording-now --next-recording $ARGS
 
 if [ $? -eq 1 ]
 then
-- 
2.30.2