keemllib at gmail.com
Fri Apr 14 01:51:19 UTC 2023
On Thursday 13 April 2023 08:36:54 PM (-05:00), Daryl McDonald wrote:
daryl at trieli:/usr/local/bin$ sudo rm /tmp/hdhr_discovery.log
[sudo] password for daryl:
daryl at trieli:/usr/local/bin$ sudo ./hdhomerun_check.py
daryl at trieli:/usr/local/bin$
Does this now indicate a successful run of the script?
Looks like something I wrote long ago. It was intended to be run ONLY by
user mythtv. There was a comment at the beginning of the script that said
The exit code would be 0 for success. The log has the actual output.
Exit codes are documented in the beginning of the program.
But, here a current copy that prints to the terminal if run there. It
still logs to the file when run from mythtv-backend.service, *for example*.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users