From: Andrew Ruthven Date: Fri, 11 Jan 2019 11:48:49 +0000 (+1300) Subject: Switch back to ARGS X-Git-Tag: 1.0.0~7 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33124189744abfdb72e2d618754ce218c1796ad2;p=mythtv-status.git Switch back to ARGS Since these arguments are local to this script, don't confuse things. --- 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