<html><head></head><body><span class="viv-signature"></span>On Thursday 13
April 2023 08:36:54 PM (-05:00), Daryl McDonald wrote:<br><br><blockquote
style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left:
1ex"><div dir="ltr">daryl@trieli:/usr/local/bin$ sudo rm
/tmp/hdhr_discovery.log<br>[sudo] password for daryl:
<br>daryl@trieli:/usr/local/bin$ sudo ./hdhomerun_check.py
<br>daryl@trieli:/usr/local/bin$<br><div><br></div><div>Does this now
indicate a successful run of the script?</div></div></blockquote><span
class="viv-signature-below"><div><span
class="viv-signature-below"><br></span></div><div><span
class="viv-signature-below"><br></span></div><div><span
class="viv-signature-below"><div><span class="viv-signature-below">Looks
like something I wrote long ago. It was intended to be run ONLY
by</span></div><div><span class="viv-signature-below">user mythtv. There
was a comment at the beginning of the script that
said</span></div><div><span class="viv-signature-below">as
much.</span></div></span></div><div><span
class="viv-signature-below"><br></span></div><div><span
class="viv-signature-below">The exit code would be 0 for success. The log
has the actual output.</span></div><div><span
class="viv-signature-below">Exit codes are documented in the beginning of
the program.</span></div><div><br></div><div><span
class="viv-signature-below">But, here a current copy that prints to the
terminal if run there. It</span></div><div><span
class="viv-signature-below">still logs to the file when run from
mythtv-backend.service, *for example*.</span></div><div><span
class="viv-signature-below"><br></span></div><div><span
class="viv-signature-below">https://pastebin.com/wdrdTrfV</span></div><br>-- <br>Bill</span></body></html>