Opened 13 years ago
Closed 13 years ago
#4100 closed patch (fixed)
Add check for mythtv-setup in mythshutdown
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Adds a check for mythtv-setup in mythshutdown --status. This means mythshutdown --check will return 1 when the backend is running and the backend won't trigger an idle shutdown when I'm running mythtv-setup.
Since the maximum return value is 255 I have set it to always return 255 if setup is running. This means that if all the other checks return true it would incorrectly return true. This is very unlikely unless you are already in a wakeup period and about to enter another one while at the same time doing all the other tasks.
In other words we have run out of return values.
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | mythshutdown-checkForSetupRunning-23102007.diff added |
---|
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to paulh |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [14734]) Add a check for mythtv-setup running in mythshutdown --status.
Patch from Matthew Wire. Closes #4100.