Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
capmt: don't start when disabled
  • Loading branch information
manio committed Jan 4, 2013
1 parent 9247faa commit f372e46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/capmt.c
Expand Up @@ -1009,6 +1009,10 @@ capmt_service_start(service_t *t)
lock_assert(&global_lock);

TAILQ_FOREACH(capmt, &capmts, capmt_link) {
/* skip, if we're not active */
if (!capmt->capmt_enabled)
continue;

tvhlog(LOG_INFO, "capmt",
"Starting capmt server for service \"%s\" on tuner %d",
t->s_svcname,
Expand Down

0 comments on commit f372e46

Please sign in to comment.